Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3026

Add Kafka 0.10 support for Flume

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.7.0
    • 1.10.1
    • Channel, Sinks+Sources
    • None

    Description

      Kafka 0.10 already released and it introduces some new APIs that not compatible with old one. When using Kafka 0.10, the unit test cases will hit compilation error:
      ...
      [ERROR] /root/flume/flume-ng-sinks/flume-ng-kafka-sink/src/test/java/org/apache/flume/sink/kafka/TestKafkaSink.java:[526,14] error: method createTopic in class AdminUtils cannot be applied to given types;
      ...
      [ERROR] /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[23,19] error: cannot find symbol
      [ERROR] package kafka.common
      [ERROR] /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[109,13] error: cannot find symbol
      [ERROR] class TestKafkaSource
      [ERROR] /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/KafkaSourceEmbeddedKafka.java:[134,14] error: method createTopic in class AdminUtils cannot be applied to given types;
      ...

      Attachments

        1. FLUME-3026.patch
          5 kB
          Ping Wang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wpwang Ping Wang
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: