Jun Rao created KAFKA-3058: ------------------------------ Summary: remove the usage of deprecated config properties Key: KAFKA-3058 URL: https://issues.apache.org/jira/browse/KAFKA-3058 Project: Kafka Issue Type: Improvement Components: core Affects Versions: 0.9.0.0 Reporter: Jun Rao Fix For: 0.9.1.0
There are compilation warnings like the following, which can be avoided. core/src/main/scala/kafka/tools/EndToEndLatency.scala:74: value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. producerProps.put(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "true") ^ kafka/core/src/main/scala/kafka/tools/MirrorMaker.scala:195: value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. maybeSetDefaultProperty(producerProps, ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "true") ^ /Users/junrao/intellij/kafka/core/src/main/scala/kafka/tools/ProducerPerformance.scala:40: @deprecated now takes two arguments; see the scaladoc. @deprecated -- This message was sent by Atlassian JIRA (v6.3.4#6332)