Brandon Salzberg created KAFKA-810:
--------------------------------------

             Summary: KafkaStream toString method blocks indefinitely
                 Key: KAFKA-810
                 URL: https://issues.apache.org/jira/browse/KAFKA-810
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
            Reporter: Brandon Salzberg
            Assignee: Neha Narkhede


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to