Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosing subscriber connection to Kafka #73

Open
PaulShpilsher opened this issue Jul 21, 2023 · 1 comment
Open

Loosing subscriber connection to Kafka #73

PaulShpilsher opened this issue Jul 21, 2023 · 1 comment

Comments

@PaulShpilsher
Copy link

PaulShpilsher commented Jul 21, 2023

We are using channels (Kafka message broker) and from time to time (pretty much at least once a day) without any indications warnings or errors the subscriber connection to Kafka topic gets dropped while other code in service-node (like actions handlers) keep working fine. We detect this by seeing that the messages in topics are not read by subscribers.

So far the only solution we’ve found is to restart the service-node. On fresh start the channels reconnect to Kafka topics and for a while everything works until again the connection to Kafka topic gets dropped.

Is there a mechanism to reconnect to the message broker (Kafka) when it (or whatever) drops the subscriber connection?

Or get some sort notification from the framework that we’re not connected anymore?

Thank you!

@icebob
Copy link
Member

icebob commented Aug 2, 2023

Hi, it would be good to somehow reproduce the issue that we can investigate the subscription logic at reconnecting.
Could you create a repro code? Do you connect to a local Kafka instance, or remote, or a cluster...etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants