>> Does it mean producer’s metadata was removed due to retention time,
Yes. >> and message is failed to be sent? No. Note, it's a warning not an error. The producer resets its internal state for this case and will send the message successfully. It's a known issue and addressed via KIP-360 that provides a more detailed explanation: https://cwiki.apache.org/confluence/display/KAFKA/KIP-360%3A+Improve+handling+of+unknown+producer -Matthias On 10/12/19 12:18 PM, Jose Manuel Vega Monroy wrote: > Hi there, > > > > We are seeing WARN log traces from time to time in our Kafka producer: > > > > 2019-10-12 15:19:14:707 > WARN[org.apache.kafka.clients.producer.internals.Sender] [Producer > clientId=prdxpds21dsm001.prod.williamhill.plc] Got error produce > response with correlation id 4899937 on topic-partition OB_SP25-3, > retrying (0 attempts left). Error: UNKNOWN_PRODUCER_ID > > > > 2019-10-1220:02:21:686 WARN > [org.apache.kafka.clients.producer.internals.Sender] [Producer > clientId=prdxpds21dsm001.prod.williamhill.plc] Got errorproduce response > with correlation id 5354758 on topic-partition OB_SP87-16, retrying (0 > attempts left). Error:UNKNOWN_PRODUCER_ID > > > > Does it mean producer’s metadata was removed due to retention time, and > message is failed to be sent? > > > > I’m not sure but looking like happening since we enabled in producer: > > > > *enable.idempotence=true* > > > > Any idea? > > > > Thanks > > > > https://www.williamhillplc.com/content/signature/WHlogo.gif?width=180 > <http://www.williamhill.com/> > > https://www.williamhillplc.com/content/signature/senet.gif?width=180 > <http://www.whenthefunstops.co.uk/> > > > > *Jose Manuel Vega Monroy ** > **Java Developer / Software Developer Engineer in Test* > > Direct: +*0035 0 2008038 (Ext. 8038)* > Email: jose.mon...@williamhill.com <mailto:jose.mon...@williamhill.com> > > William Hill | 6/1 Waterport Place | Gibraltar | GX11 1AA > > > > > > >
signature.asc
Description: OpenPGP digital signature