Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Correlation id

Copy link to this message
Re: Correlation id
Multiple produce requests are sent asynchronously over the same socket.
Suppose you send 2 requests and get back single response, how do you figure
out which one it corresponds to of those 2 requests ? Correlation Id helps
AFAIK, correlation Id is added to produce requests and broker uses the same
id in its response so that the producer can keep track of its requests.
Correlation Id also helps in debugging issues as now you can uniquely
identify requests across producer and broker logs.
On Mon, Aug 19, 2013 at 11:01 PM, Timothy Chen <[EMAIL PROTECTED]> wrote:

> Hi,
> This is probably a very obvious questoin, but I cannot find the answer for
> this.
> What does the correlation id mean in a producer request?
> Tim