You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2017/10/29 09:30:00 UTC

[jira] [Resolved] (KAFKA-810) KafkaStream toString method blocks indefinitely

     [ https://issues.apache.org/jira/browse/KAFKA-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar resolved KAFKA-810.
-----------------------------
    Resolution: Auto Closed

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

> 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 was sent by Atlassian JIRA
(v6.4.14#64029)