Do producers currently leave the sockets to the brokers open indefinitely?

It might make sense to add a second producer config param similar to
"reconnect.interval" which limits on time instead of message count.
(And then reconnect based on whichever criteria is hit first).  For
folks going through ELBs on AWS, they'd set the reconnect.interval.sec
to something like 50 sec as a workaround for low-volume producers.

- Niek



On Tue, Jun 26, 2012 at 4:52 PM, Jun Rao <jun...@gmail.com> wrote:
> Set num.retries in producer config property file. It defaults to 0.
>
> Thanks,
>
> Jun
>

Reply via email to