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

remove the usage of deprecated config properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.0
    • 0.10.0.0
    • core

    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

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

            Dates

              Created:
              Updated:
              Resolved: