Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Always retry connections to NATS #69

Merged
merged 1 commit into from
Apr 24, 2018

Conversation

mjs
Copy link
Contributor

@mjs mjs commented Apr 24, 2018

The NATS connections created by the filter and monitor weren't set to keep retrying and were using the default reconnection limit of 60.

The listener and writer were using infinite NATS reconnection attempts but were setting this up in an undocumented way (which may not always have worked).

The NATS connections created by the filter and monitor weren't set to
keep retrying and were using the default reconnection limit of 60.

The listener and writer were using infinite NATS reconnection
attempts but were setting this up in an undocumented way (which may
not always have worked).
@mjs
Copy link
Contributor Author

mjs commented Apr 24, 2018

@oplehto I wonder if this could have been the cause for data not flowing in one case that you saw recently?

@mjs mjs requested a review from oplehto April 24, 2018 04:45
@oplehto
Copy link
Contributor

oplehto commented Apr 24, 2018

This is certainly possible. I am planning to do comprehensive testing of all the component failure scenarios in our k8s qa environment and their effect on the traffic flow to see if everything holds up.

@oplehto oplehto merged commit b2eb25e into jumptrading:master Apr 24, 2018
@mjs mjs deleted the always-retry-nats-connections branch April 24, 2018 04:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants