confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
276 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 2 months ago

Ocean52-XIE commented 2 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 3 weeks ago

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