That will be awesome. It will definitely address AWS ELB problem. +1 for "reconnect.interval".
Regards, Vaibhav GumGum On Wed, Jun 27, 2012 at 3:24 PM, Niek Sanders <niek.sand...@gmail.com>wrote: > 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 > > >