...@confluent.io]
Sent: Thursday, December 18, 2014 5:04 PM
To: users@kafka.apache.org
Subject: Re: In Flight Requests
Hi David,
Each request sent to Kafka gets acknowledged. The protocol allows multiple
requests to be sent on a connection without waiting on a connection. The number
of requests
impact is the following: sending more than one request at a time is
good as you can have one request being sent while the previous one is being
processed. So allowing more than one in-flight request makes sense. However
allowing an unbounded number of in-flight requests is actually not a good
thing
I notice that there is parameter max.in.flight.requests.per.connection in the
ProducerConfig.java code that can be set. It is defaulted to 5.
This is not documented in the 0.8.2 documentation.
http://kafka.apache.org/082/documentation.html#newproducerconfigs
Is it something we should play with?