-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
User specified connection name #104
Comments
Effort: medium because it will involve updating client libraries. |
I'm happy to do the client libraries part of this issue. |
A quick glance at what changes will be required makes me think it should only go into |
We can use |
That was the plan, more or less.
|
Then we can add this to |
We can also change log messages to support client provided names. |
Sure but in addition to the TCP tuple-based names we have today.
|
I should expand on the comment above. We cannot completely replace the connection name(s) we have for several reasons:
So the user-provided name, when present, should be listed in a separate column (and on the connection page), not replace the name we have. It will be a useful — and entirely optional — piece of information, not a new connection identification scheme. |
One thing about using client properties that I'm of two minds on is that it's going to work on a per-connection factory basis in the Java and .NET clients. Perhaps this can be seen as a quirk of those two clients, as Ruby, Erlang, Node, Go clients all should effectively have it on a per-connection basis due to how their APIs are structured. |
I'm not sure if it makes sense to implement per factory setting. We can add optional parameter to |
Yes, looking at the code, that should be about as hard as it was for custom executors. |
Makes it much easier to override or provide a custom value, e.g. for rabbitmq/rabbitmq-server#104.
Should this custom name go in logs? |
As an additional piece of information, perhaps.
|
Is that possible to add |
Please post your ideas and suggestions to rabbitmq-users. |
Provide an option for a client to specify a "friendly name" for a connection. This would show up in the management plugin top-level connections screen in addition to the current name column. The current name "ip:port" is definitely useful, but can become unusable when you have a bunch of connections from the same ip. The "friendly name" could be used to provide client application specific details and make it easier during troubleshooting to locate specific connections.
Discussion: https://groups.google.com/forum/#!topic/rabbitmq-users/hLSoNqcxeKA
The text was updated successfully, but these errors were encountered: