Kafka
  1. Kafka
  2. KAFKA-810

KafkaStream toString method blocks indefinitely

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: consumer
    • Labels:
      None

      Description

      Once a KafkaStream has been created, calling toString on it will block indefinitely. It appears that the toString method is not currently being overridden, so the default behavior will be to try to iterate over all of the elements, which will obviously never finish since the object is designed to iterate forever.

      Seems like the easiest solution would to override toString to avoid the default behavior.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Neha Narkhede
            Reporter:
            Brandon Salzberg
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development