confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
293 stars 3.15k forks source link

Some partitions occasionally fail to be consumed when a single client consumes multiple partitions. #4824

Open Ocean52-XIE opened 3 months ago

Ocean52-XIE commented 3 months ago

Description

When a client consumes multiple partitions, there is a probability that some partitions cannot be consumed. Normal when one client consumes one partition.

When it's abnormal just jump partition 3 image image image image

will recover when restart the client image

How to reproduce Create a topic with 8 partitions and use a client to consume

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

anchitj commented 2 months ago

Can you provide debug logs?

emasab commented 1 month ago

+1 for debug logs as we can verify if it's related to this bug https://github.com/confluentinc/librdkafka/issues/4804