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

Ability to access the connection identifier #146

Merged
merged 3 commits into from
Mar 30, 2020
Merged

Conversation

arun11299
Copy link
Contributor

There are cases where I would have liked to know about the connection identifier in the application logs. This helps in figuring out what happened to those connections from the nats server log.

This pull, exposes the "client_id" which I believe is also the connection identifier in nats server.

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Sorry for the delay

@wallyqs wallyqs merged commit b365db2 into nats-io:master Mar 30, 2020
@imsazzad
Copy link

how to get the cid from python client.
my client version is 0.10.0
I can see no client_id/cid here.
I need it for monitoring.

@wallyqs wallyqs mentioned this pull request Sep 9, 2020
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

3 participants