Kafka Streams error - Offset commit failed on partition, request timed out

后端 未结 1 1621
梦如初夏
梦如初夏 2021-02-14 16:52

We use Kafka Streams for consuming, processing and producing messages, and on PROD env we faced with errors on multiple topics:

ERROR org.apache.kafka.clients.co         


        
相关标签:
1条回答
  • 2021-02-14 17:51

    Looks like you have issue with Kafka cluster and Kafka consumer is get timed out while trying to commit offsets. You can try to increase connection related configs for Kafka consumer

    1. request.timeout.ms (by default 305000ms)

    The configuration controls the maximum amount of time the client will wait for the response of a request

    1. connections.max.idle.ms (by default 540000ms)

    Close idle connections after the number of milliseconds specified by this config.

    0 讨论(0)
提交回复
热议问题