kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Herman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-73) SyncProducer sends messages to invalid partitions without complaint
Date Wed, 20 Jul 2011 19:20:57 GMT
SyncProducer sends messages to invalid partitions without complaint
-------------------------------------------------------------------

                 Key: KAFKA-73
                 URL: https://issues.apache.org/jira/browse/KAFKA-73
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.6
         Environment: Mac OSX 10.6.7
            Reporter: Jonathan Herman
            Priority: Minor


The SyncProducer class will send messages to invalid partitions without throwing an exception
or otherwise alerting the user.

Reproduction:
Run the kafka-simple-consumer-shell.sh script with an invalid partition number. An exception
will be thrown and displayed. Run the kafka-producer-shell.sh with the same partition number.
You will be able to send messages without any errors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message