kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-3058) remove the usage of deprecated config properties
Date Mon, 04 Jan 2016 16:45:39 GMT
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)

Mime
View raw message