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

KafkaStream toString method blocks indefinitely

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Auto Closed
    • 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

        Hide
        omkreddy Manikumar added a comment -

        Closing inactive issue. The old consumer is no longer supported.

        Show
        omkreddy Manikumar added a comment - Closing inactive issue. The old consumer is no longer supported.

          People

          • Assignee:
            nehanarkhede Neha Narkhede
            Reporter:
            brandon.salzberg@gmail.com Brandon Salzberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development