Skip to content

Kafka: troubleshooting

Daria Kharlan edited this page Mar 4, 2020 · 5 revisions

- Pipeline hanged in RETRY state.

Error logs:

ERROR MultiKafkaSource - Encountered error in multi kafka thread 0 during read org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records.

Solution: Decrease Max Batch Size (conf.maxBatchSize) in Source config

- Number of In records is increasing, but Out stays zero (output from agent pipeline info command)

Solution: check pipeline config and make sure that all field names are correct and actually present in the data

Clone this wiki locally