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

Add a standard subscription [ci-skip] #950

Merged
merged 2 commits into from Apr 7, 2022
Merged

Add a standard subscription [ci-skip] #950

merged 2 commits into from Apr 7, 2022

Conversation

ColinSullivan1
Copy link
Member

Add a service subject that isn't load balanced for example/demonstration purposes.

Signed-off-by: Colin Sullivan colin@synadia.com

Signed-off-by: Colin Sullivan <colin@synadia.com>
@coveralls
Copy link

coveralls commented Apr 7, 2022

Coverage Status

Coverage decreased (-0.08%) to 85.163% when pulling f6e4f8d on echo-all into c4cfcdf on main.

nc.QueueSubscribe(subj, "echo", func(msg *nats.Msg) {
handleMsg(msg)
})
allSubj := subj + ".all"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this status.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And for this one we just should send back our geo I think? Maybe if you want add in an identifier at startup to customize?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed; it's status and there is an identifier now.

Signed-off-by: Colin Sullivan <colin@synadia.com>
@tbeets
Copy link
Contributor

tbeets commented Apr 7, 2022

LGTM

Copy link
Contributor

@tbeets tbeets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kozlovic kozlovic merged commit 2a0efe1 into main Apr 7, 2022
@kozlovic kozlovic deleted the echo-all branch April 7, 2022 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants