这个是 Kafka client 的警告。这个配置项是 Flink 加进去的,Kafka 不认识。
Best, Paul Lam > 2021年4月18日 19:45,lp <[email protected]> 写道: > > flink1.12正常程序中,有如下告警: > > 19:38:37,557 WARN org.apache.kafka.clients.consumer.ConsumerConfig > > [] - The configuration 'flink.partition-discovery.interval-millis' was > supplied but isn't a known config. > > 我有一行如下配置: > properties.setProperty(FlinkKafkaConsumerBase.KEY_PARTITION_DISCOVERY_INTERVAL_MILLIS,10); > > > 根据官网https://ci.apache.org/projects/flink/flink-docs-stable/dev/connectors/kafka.html#topic-discovery介绍: > By default, partition discovery is disabled. To enable it, set a > non-negative value for flink.partition-discovery.interval-millis in the > provided properties config, representing the discovery interval in > milliseconds. > > > 上述配置应该是合法的,但是为何会报如此警告呢? > > > > -- > Sent from: http://apache-flink.147419.n8.nabble.com/
