-
Notifications
You must be signed in to change notification settings - Fork 626
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
AddressResolver with DNS or List? #1029
Comments
random a address
|
Spring AMQP has its own connection recovery mechanism; it existed before the rabbitmq client added connection recovery. It is best not to use the client recovery; there have been problems with the two mechanisms adversely interacting in the past (hung consumers); we have fixed all known problems, but it's safer to simply turn off the client's recovery mechanism. The |
thank you @garyrussell |
Resolves spring-projects#1029 Add `shuffleAddresses` to the `CachingConnectionFactory`.
Resolves spring-projects#1029 Add `shuffleAddresses` to the `CachingConnectionFactory`.
Resolves spring-projects#1029 Add `shuffleAddresses` to the `CachingConnectionFactory`.
Resolves #1029 Add `shuffleAddresses` to the `CachingConnectionFactory`.
Resolves #1029 Add `shuffleAddresses` to the `CachingConnectionFactory`. # Conflicts: # spring-rabbit/src/test/java/org/springframework/amqp/rabbit/config/ConnectionFactoryParserTests.java # spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection/CachingConnectionFactoryTests.java # src/reference/asciidoc/whats-new.adoc
hi,
i found the addresses conf with
spring.rabbitmq.addresses=192.168.103.34:5672,192.168.73.129:5672
is not well,because it fixed target rabbitmq server node rather than random a node.and i could not want to use
DnsRecordIpAddressResolver
.because it has higher costs.following code if not set to false,i think more well.because the connect is random
The text was updated successfully, but these errors were encountered: