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

KafkaStream toString method blocks indefinitely

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • consumer
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: