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
Timothy Chen 2013-08-20, 21:45
Thanks Tejas! That's very helpful.

Tim
On Mon, Aug 19, 2013 at 11:40 PM, Tejas Patil <[EMAIL PROTECTED]>wrote:

> 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
> here.
> 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
> >
>