Failed to read message: nats: connection closed #3133
Unanswered
static-moonlight
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I implemented a simple pipeline to consume NATS messages and do something with them. This was done as a replacement of the NATS client to increase stability and reliability.
I was surprised when during my first test (shutdown the NATS server for a couple minutes and start it again), Redpanda Connect (RPC) will never automatically recover from that.
Even after the NATS server was online again for at least 10 minutes, RPC continues to print this error:
I don't see anything in the CLI help to tell RPC how to handle such errors (like trying to reconnect, or just quit the process, or something). I also can't see anything in the documentation for
nats_jetstream
about error handling or auto reconnect.I was under the impression that auto-reconnect in NATS is pretty much standard:
This is the important part of my pipeline config:
I could need some advice about how to increase resilience for this one.
I need one of this:
2 and 3 would take advantage of the container restart policy to implement auto-recovery.
Beta Was this translation helpful? Give feedback.
All reactions