You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jim Lim (JIRA)" <ji...@apache.org> on 2012/06/01 18:49:23 UTC

[jira] [Resolved] (KAFKA-358) python producer causes "Unreasonable length = -69523947"

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

Jim Lim resolved KAFKA-358.
---------------------------

    Resolution: Not A Problem

This is my fault.

The python and ruby clients do not have broker discovery features yet. The port number (and host) should be the actual KAFKA port, not the zookeeper port.
                
> python producer causes "Unreasonable length = -69523947"
> --------------------------------------------------------
>
>                 Key: KAFKA-358
>                 URL: https://issues.apache.org/jira/browse/KAFKA-358
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.7
>         Environment: Ubuntu 10.10 w. Python 2.6.6
>            Reporter: Jim Lim
>
> - Download KAFKA 0.7
> - Start zookeeper and kafka servers as per quickstart
> Use the following commands:
> $> python clients/python/kafka.py localhost 2181 test
> Enter comma seperated messages: a,b,c
> The following output is obtained:
> Exception causing close of session 0x0 due to java.io.IOException: Unreasonable length = -1102880512

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira