I think there is no docs yet for this feature since it is only included in
trunk (are you using a released version? If yes then you should not hit
this); but here is the ticket that you can take a look:

https://issues.apache.org/jira/browse/KAFKA-1282

On Thu, Nov 13, 2014 at 6:37 PM, Kothakota, Neeraja (HP Software) <
[email protected]> wrote:

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



-- 
-- Guozhang

Reply via email to