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

Add option to ignore kafka messages that are out of limit rate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • DStreams

    Description

      With spark.streaming.kafka.maxRatePerPartition, we can control the max rate limit. However, we can not ignore these messages out of limit. These messages will be consumed in next iteration. We have a use case that we need to ignore these messages and process latest messages in next iteration.

      In other words, we simply want to consume part of messages in each iteration and ignore remaining messages that are not consumed.

      We add an option for this purpose.

      Attachments

        Activity

          People

            Unassigned Unassigned
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: