-
Notifications
You must be signed in to change notification settings - Fork 60
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
Rename UseRoutingTopology? #444
Comments
I'm not sure about this. We have to bear in mind that explicit toplogy choice is now mandatory and we intend to deprecate the current topologies in the 5.x timeframe. That will leave |
As we make using of topology mandatory I would leave the name as is. As now in every transport configuration, |
so you're saying in the future users will write something like: |
Ah, you have point @timbussmann. The built in routing topologies are internal therefore @Particular/rabbitmq-transport-maintainers thoughts? |
The problem with making either our existing or potential new routing topologies public in order to use them with If you're writing a custom routing topology, then you know what dependencies you have, so you know what to pass in, but we wouldn't want users to have to take on the burden of properly creating the ones we provide in the box. The reason we currently have separate specific APIs to choose a routing topology is that there are potentially unique configuration settings for each of them. Thinking about this, I suppose it could make sense to rename |
Should UseRoutingTopology be renamed to UseCustomRoutingTopology instead?
The only usage of that API I was able to find on docs is related to a custom routing topology: https://docs.particular.net/transports/rabbitmq/routing-topology#custom-routing-topology but that's not clear from the API as I had the impression it's a general purpose API which allows me to define any of the existing built-in topologies.
The text was updated successfully, but these errors were encountered: