Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3262

Make KafkaStreams debugging friendly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: None
    • Component/s: streams
    • Labels:

      Description

      Current KafkaStreams polls records in the same thread as the data processing thread. This makes debugging user code, as well as KafkaStreams itself, difficult. When the thread is suspended by the debugger, the next heartbeat of the consumer tie to the thread won't be send until the thread is resumed. This often results in missed heartbeats and causes a group rebalance. So it may will be a completely different context then the thread hits the break point the next time.
      We should consider using separate threads for polling and processing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enothereska Eno Thereska
                Reporter:
                yasuhiro.matsuda Yasuhiro Matsuda
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: