Hi,
I've a spring boot kafka consumer which consumes messages from a kafka
cluster which also produces a message to another cluster as part of
consuming the message. I get the below errors periodically. I have auto
retries enabled and it looks like these messages are retried
successfully but can't really find anything definitive online if there's
anything I can do to prevent / or reduce these errors. (Once an hour maybe
less)

Is this just the producer connection timing out due to inactivity?

Log Entries
2023-08-27T14:10:17.899Z WARN 25650 --- [ad | producer-1]
o.a.k.clients.producer.internals.Sender : [Producer clientId=producer-1]
Got error produce response with correlation id 343740 on topic-partition
MDM_CSTMR_LYLTY_DTLS-9, retrying (2147483646 attempts left). Error:
NETWORK_EXCEPTION. Error Message: Disconnected from node 119

2023-08-27T14:10:17.899Z WARN 25650 --- [ad | producer-1]
o.a.k.clients.producer.internals.Sender : [Producer clientId=producer-1]
Received invalid metadata error in produce request on partition
MDM_CSTMR_LYLTY_DTLS-9 due to org.apache.kafka.common.errors.NetworkException:
Disconnected from node 119. Going to request metadata update now

Cheers Lee C

Reply via email to