Upgrading kafka from 2.5 to 2.8

2022-04-03 Thread vinay kumar
Hi, Is there any wiki for upgarading kafka from 2.5 to 2.8 in production

Re: Kafka Producer Record Error Rate

2022-04-03 Thread David Finnie
Hi Liam, I think you've said it well. David Finnie Infrasoft Pty Limited On 4/04/2022 15:10, Liam Clarke-Hutchinson wrote: Thanks Neeraj, >From reading code, I am reasonably certain that no data loss occurred - the producer reset the batch sequence numbers, and then tried again. I refer you

Re: Kafka Producer Record Error Rate

2022-04-03 Thread David Finnie
Hi Neeraj, I don't know what might be causing the first Produce error. Is the OUT_OF_ORDER_SEQUENCE_NUMBER the first Produce error? From the error that you included (Invalid sequence number for new epoch) it would seem that the broker doesn't (yet) know about the Producer's epoch - possibly b

Re: Kafka Producer Record Error Rate

2022-04-03 Thread Liam Clarke-Hutchinson
Thanks Neeraj, >From reading code, I am reasonably certain that no data loss occurred - the producer reset the batch sequence numbers, and then tried again. I refer you to this comment in the code of the producer's Sender: // tell the user the result of their request. We only adj

Re: Kafka Producer Record Error Rate

2022-04-03 Thread Neeraj Vaidya
Hi Liam, Brokers are on Apache Kafka v2.7.0 However, the Producer client is using the v2.6 libraries. Regards, Neeraj On Monday, 4 April, 2022, 02:17:42 pm GMT+10, Liam Clarke-Hutchinson wrote: Hi Neeraj, Not sure just yet, I'm diving into the code to find out. Oh, what version Kafka

Re: Kafka Producer Record Error Rate

2022-04-03 Thread Liam Clarke-Hutchinson
Hi Neeraj, Not sure just yet, I'm diving into the code to find out. Oh, what version Kafka are you running please? Cheers, Liam On Mon, 4 Apr 2022 at 14:50, Neeraj Vaidya wrote: > Hi Liam, > Thanks for getting back. > > 1) Producer settings ( I am guessing these are the ones you are interest

Re: Kafka Producer Record Error Rate

2022-04-03 Thread Neeraj Vaidya
Hi Liam, Thanks for getting back. 1) Producer settings ( I am guessing these are the ones you are interested in) enable.idempotence=true max.in.flight.requests.per.connection=5 2) Sample broker logs corresponding to the timestamp in the application logs of the Producer [2022-04-03 15:56:39,58

Re: Kafka Producer Record Error Rate

2022-04-03 Thread Liam Clarke-Hutchinson
Hi Neeraj, First off, what are your producer settings? Secondly, do you have brokers logs for the leaders of some of your affected topics on hand at all? Cheers, Liam Clarke-Hutchinson On Mon, 4 Apr 2022 at 14:04, Neeraj Vaidya wrote: > Hi All, > For one of the Kafka producers that I have, I

Kafka Producer Record Error Rate

2022-04-03 Thread Neeraj Vaidya
Hi All, For one of the Kafka producers that I have, I see that the Producer Record Error rate is non-zero i.e. out of the expected 3000 messages per second which I a expect to be producing to the topic, I can see that this metric shows a rate of about 200. Does this indicate that the records fai