[ 
https://issues.apache.org/jira/browse/KAFKA-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630981#comment-14630981
 ] 

Timothy Chen commented on KAFKA-2339:
-------------------------------------

Somehow I can't produce this with kafkacat and latest trunk:

Timothys-MacBook-Pro :: ~/src/kafka ‹trunk*› » kafkacat -P -p 3..5 -t test -b 
localhost:9092                                                                  
                                       1 ↵
abc
% ERROR: Failed to produce message (3 bytes): Local: Unknown partition

Which version of Kafka are you using?

> broker becomes unavailable if bad data is passed through the protocol
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-2339
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2339
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Joe Stein
>            Assignee: Timothy Chen
>            Priority: Critical
>             Fix For: 0.8.3
>
>
> I ran into a situation that a non integer value got past for the partition 
> and the brokers went bonkers.
> reproducible
> {code}
> ah="1..2"
> echo "don't do this in production"|kafkacat -b localhost:9092 -p $ah
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to