-
Notifications
You must be signed in to change notification settings - Fork 14
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
AMQP URL configuration consistency #109
Comments
Sounds reasonable. We have to continue to support the old style until we define a deprecation policy though. Does your change still support passing all of the bits of information via |
yes, seems we should honor them in an order, and then trim 2 from the list when the time is right...
|
I'm fine with continuing to support
Yes, everything can still be passed via
It's |
This is sounding really good.
Absolutely. Let the admins know they need to use the new options.
Excellent. We should verify whether
If you only define a host, what does the AMQP/RabbitMQ server do? Does it not care about the user? |
You get an anonymous connection to the default port. It's up to the endpoint to decide what to do with anonymous connections. Our ELK stack is configured to accept them. (Clarification: the topic is also required) |
I like all of this. Definitely not suggesting to change to |
Should this configuration (or just host) information also live in an array, in service of upcoming work on #106 ? Consider the flow...
It could look like this... a)
OR... just the hostnames themselves in an array/list... b)
Then, for backwards compatibility...
|
My plan for this is similar to your "a" proposal, but with As discussed in standup this morning, I will be removing the implementation of |
cool cool. |
At present, we construct the AMQP URL from two configuration options,
amqp_location
andamqp_topic
.amqp_location
contains the hostname, port (optional), scheme (optional), username (optional), and password (optional).Qpid Proton's C++ API gives us a better way of specifying username and password, which I have implemented in #105 via two new configuration options. Given that there seem to be multiple standards for supplying username and password in an AMQP URL[1][2], I think this was the right decision.
For consistency's sake, and to discourage users from specifying credentials as part of the location as is currently done, I suggest we deprecate
amqp_location
in favor of separate optionsamqp_scheme
,amqp_host
, andamqp_port
.The text was updated successfully, but these errors were encountered: