Thanks Tejas! That's very helpful.
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
> 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
> > this.
> > What does the correlation id mean in a producer request?
> > Tim