Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3058

remove the usage of deprecated config properties

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: core
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Konrad Kalita Konrad Kalita
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: