"ERROR [KafkaApi-1] Error when handling request: clientId=X, correlationId=Y, api=UPDATE_METADATA, body=" error occurs
Issue
- "ERROR [KafkaApi-1] Error when handling request: clientId=X, correlationId=Y, api=UPDATE_METADATA, body=" error occurs. And broker has stale metadata for some time and the consumers become slow.
[2020-10-11 09:02:78,777] ERROR [KafkaApi-1] Error when handling request: clientId=3, correlationId=0, api=UPDATE_METADATA, body=
...
java.lang.IllegalStateException: Epoch 3294768102 larger than current broker epoch 3294667322
at kafka.server.KafkaApis.isBrokerEpochStale(KafkaApis.scala:2612)
at kafka.server.KafkaApis.handleUpdateMetadataRequest(KafkaApis.scala:242)
at kafka.server.KafkaApis.handle(KafkaApis.scala:119)
at kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:69)
at java.lang.Thread.run(Thread.java:748)
Environment
- Red Hat AMQ Streams 1.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.