Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2590 KIP-28: Kafka Streams Checklist
  3. KAFKA-2654

Avoid calling Consumer.poll(0) in each iteration

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we are calling consumer.poll() in each iteration though most time it is poll(0).

      poll(0) itself is not completely free since it involves a bunch of system calls, hence we'd better avoid calling it in each iteration.

        Attachments

          Activity

            People

            • Assignee:
              ymatsuda Yasuhiro Matsuda
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: