consumer is not getting messages after some time of running
See original GitHub issueEnvironment Information
- OS: Docker of carbon-alpine
- Node Version 8.11.4
- NPM Version 5.6.0
- node-rdkafka version 2.3.2
Im running 3 instances of app that listening for a specific events. at certain point, 2 of the 3 instances is not getting the events anymore.
when inspecting the kafka, I see that:
TOPIC PARTITION CURRENT-OFFSET LOG-END-OFFSET LAG CONSUMER-ID HOST CLIENT-ID
forgetPasswordInit 0 5558 5558 0 man-mailing-api-A-04abb206-9754-496b-984a-f740d1bdde73 /192.168.202.223 man-mailing-api-A
forgetPasswordInit 1 - 5472 - man-mailing-api-B-39c418ef-5257-4db2-a923-ec1357f89c5e /192.168.202.221 man-mailing-api-B
forgetPasswordInit 2 - 5526 - man-mailing-api-C-171c352c-5f27-42e6-8847-8147aa4bbf0b /192.168.202.222 man-mailing-api-C
As you can see, the CURRENT-OFFSET is shown only for the instance that listening.
Any suggestions of how to debug it? When restarting the instances everything is back to normal
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Simple Kafka Consumer not receiving messages
First check what all the groups are available by using : ./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list.
Read more >Standard Kafka consumer hangs and does not output messages
Symptoms. The standard Kafka consumer ( kafka-console-consumer.sh ) is unable to receive messages and hangs without producing any output.
Read more >kafka consumer not showing the consumed messages
But when the time comes to consumer to show the messages: there is nothing although the command seems to be executed, but no...
Read more >Kafka Consumer not consuming new messages randomly
Hello, We have finally found the root cause of this issue. It was due to the consumer.request.timeout.ms ...
Read more >Consumers
Client can lose their connection to RabbitMQ. When connection loss is detected, message delivery stops. Some client libraries offer automatic connection ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Multiple issues related to the same topic and no solutions. The stale bot keeps closing this issue on and on because no activity, but the problem is still there
hi @nervgh, thanks for linking me to that. originally I was thinking it might be related to issue #424. I’ll give your solution a shot and come back if there’s something else to report.