@Guozhang, Thanks for your reply. Is is available as part of broker configuration? If yes, how to configure.
--Neeraja -----Original Message----- From: Guozhang Wang [mailto:[email protected]] Sent: Friday, November 14, 2014 12:02 AM To: [email protected] Subject: Re: How to keep-alive connection from producer to broker? Neeraja, Producer does use keep-alive connections to the brokers, and a recent change is introduced in broker which will actively close connections if it has not got any requests from the producer for some time. The default period is 10 min, you can set it to INT_MAX if you do not want this feature. Guozhang On Thu, Nov 13, 2014 at 12:09 AM, Kothakota, Neeraja (HP Software) < [email protected]> wrote: > Hi, > > I would like to know if there is a way/configuration to keep-alive > connections from producer/client to broker? > > I observed that connection is getting closed every time, which takes > considerable time. > > Can you please suggest ? > > Thanks & Regards, > Neeraja > -- -- Guozhang
