Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # dev >> [jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option


+
Maxime Brugidou 2013-01-07, 09:06
Copy link to this message
-
[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

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

Maxime Brugidou updated KAFKA-684:
----------------------------------

    Attachment: KAFKA-684-3.patch

While I'm at it, I added this small feature:

Exit at end of input stream (so you can do echo "test" | ./kafka-console-producer.sh or ./kafka-console-producer.sh < test without stopping the producer manually
                
> ConsoleProducer does not have the queue-size option
> ---------------------------------------------------
>
>                 Key: KAFKA-684
>                 URL: https://issues.apache.org/jira/browse/KAFKA-684
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Maxime Brugidou
>             Fix For: 0.8
>
>         Attachments: KAFKA-684-2.patch, KAFKA-684-3.patch, KAFKA-684.patch
>
>
> When using the kafka ConsoleProducer (from script kafka-console-producer.sh), you cannot set the queue.size, which gets very annoying when  you want to produce quickly a lot of messages. You definitely need to increase the queue.size (or decrease the send timeout).
> Here is a simple patch to add the option.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

 
+
Jun Rao 2013-01-08, 21:58