Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6051

Add an option for DirectKafkaInputDStream to commit the offsets into ZK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.3.0
    • None
    • DStreams
    • None

    Description

      Currently in DirectKafkaInputDStream, offset is managed by Spark Streaming itself without ZK or Kafka involved, which will make several third-party offset monitoring tools fail to monitor the status of Kafka consumer. So here as a option to commit the offset to ZK when each job is finished, the process is implemented as a asynchronized way, so the main processing flow will not be blocked, already tested with KafkaOffsetMonitor tools.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jerryshao Saisai Shao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: