[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

2013-01-08 Thread Jun Rao (JIRA)

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

Jun Rao updated KAFKA-684:
--

Resolution: Fixed
  Assignee: Maxime Brugidou
Status: Resolved  (was: Patch Available)

Thanks for patch v3. +1. Committed to 0.8.

> 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
>Assignee: 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


[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

2013-01-08 Thread Maxime Brugidou (JIRA)

 [ 
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


[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

2013-01-08 Thread Maxime Brugidou (JIRA)

 [ 
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-2.patch

I added:

queue.enqueueTimeout.ms
producer.request.required.acks
producer.request.timeout.ms


> 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.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


[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

2013-01-07 Thread Maxime Brugidou (JIRA)

 [ 
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.patch

> 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.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


[jira] [Updated] (KAFKA-684) ConsoleProducer does not have the queue-size option

2013-01-07 Thread Maxime Brugidou (JIRA)

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

Maxime Brugidou updated KAFKA-684:
--

Fix Version/s: 0.8
Affects Version/s: 0.8
   Status: Patch Available  (was: Open)

> 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
>
>
> 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