Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9691

Modify run loop in Kinesis ShardConsumer to not sleep for a fixed fetchIntervalMillis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2, 1.5.0
    • 1.5.2, 1.6.0
    • Connectors / Kinesis
    • None

    Description

      Currently the ShardConsumer in the Kinesis connector sleeps for a fixed fetchIntervalMillis resulting in the shard consumer sleeping for more time than necessary and not optimally reading from Kinesis. It should only be sleeping for (fetchIntervalMillis - time taken to process records) before making the subsequent getRecords call. 

      Attachments

        Activity

          People

            jgrier Jamie Grier
            glaksh100 Lakshmi Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: