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