You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Brandon Salzberg (JIRA)" <ji...@apache.org> on 2013/03/18 20:52:16 UTC
[jira] [Created] (KAFKA-810) KafkaStream toString method blocks
indefinitely
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