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

Make NATS Connection object optional #3

Closed
corcoja opened this issue Aug 30, 2021 · 1 comment
Closed

Make NATS Connection object optional #3

corcoja opened this issue Aug 30, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request project: flow

Comments

@corcoja
Copy link
Member

corcoja commented Aug 30, 2021

If Spring Boot is executed while the NATS Jetstream server is down, the execution of the service will fail because the connection to NATS can't be established, hence it fails to auto-wire Connection property.
Make Connection object optional and connect to the server asynchronously to fix this issue.

@corcoja corcoja added the enhancement New feature or request label Aug 30, 2021
@corcoja corcoja self-assigned this Aug 30, 2021
@corcoja
Copy link
Member Author

corcoja commented Sep 2, 2021

@corcoja corcoja closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request project: flow
Projects
None yet
Development

No branches or pull requests

2 participants