Replies: 1 comment 3 replies
-
You will receive an EOF each time the consumer reaches the end of the partition when there are no new messages; i.e., when it has fully caught up. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consumer's "RdKafka::ERR__PARTITION_EOF "error not normal
In the process of consumption, the data is not consumed to the end, but the EOF error is reported.
Test scenarios:
Consumer:
producer:
bin/kafka-console-producer.sh
Start execution:
Start the consumer program and print the following information first:
Consumers start to sleep for 10 seconds,Within 10 seconds, the producer starts to produce data,Switching from letter A to s or s to D will have a small time interval,Producer data are as follows
After 10 seconds, consumers began to consume data,The phenomenon is as follows:
In short, there is still data in the partition, but the consumer reported the EOF error
summary:
I don't think there will be multiple EOF errors when the data produced within 10 seconds is consumed by consumers
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
Beta Was this translation helpful? Give feedback.
All reactions