You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/asciidoc/api.adoc
+3-3
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Creating the environment to connect to a cluster node works usually seamlessly.
75
75
Creating publishers and consumers can cause problems as the client uses hints from the cluster to find the nodes where stream leaders and replicas are located to connect to the appropriate nodes.
76
76
77
77
These connection hints can be accurate or less appropriate depending on the infrastructure.
78
-
If you hit some connection problems at some point – like hostnames impossible to resolve for client applications - this https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/[blog post] should help you understand what is going on and fix the issues.
78
+
If you hit some connection problems at some point – like hostnames impossible to resolve for client applications - this https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams[blog post] should help you understand what is going on and fix the issues.
79
79
80
80
To make the local development experience simple, the client library can choose to always use `localhost` for producers and consumers.
81
81
This happens if the following conditions are met: the initial host to connect to is `localhost`, the user is `guest`, and no custom address resolver has been provided.
@@ -275,7 +275,7 @@ It is the developer's responsibility to close the `EventLoopGroup` they provide.
275
275
==== When a Load Balancer is in Use
276
276
277
277
A load balancer can misguide the client when it tries to connect to nodes that host stream leaders and replicas.
278
-
The https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/["Connecting to Streams"] blog post covers why client applications must connect to the appropriate nodes in a cluster and how a https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/#with-a-load-balancer[load balancer can make things complicated] for them.
278
+
The https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams["Connecting to Streams"] blog post covers why client applications must connect to the appropriate nodes in a cluster and how a https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/#with-a-load-balancer[load balancer can make things complicated] for them.
279
279
280
280
The `EnvironmentBuilder#addressResolver(AddressResolver)` method allows intercepting the node resolution after metadata hints and before connection.
281
281
Applications can use this hook to ignore metadata hints and always use the load balancer, as illustrated in the following snippet:
<2> Use load balancer address for initial connection
290
290
<3> Ignore metadata hints, always use load balancer
291
291
292
-
The blog post covers the https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/#client-workaround-with-a-load-balancer[underlying details of this workaround].
292
+
The blog post covers the https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams/#client-workaround-with-a-load-balancer[underlying details of this workaround].
Copy file name to clipboardExpand all lines: src/docs/asciidoc/overview.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ can also be useful for development and testing.
66
66
* _avoid publishing duplicate messages_ thanks to message deduplication.
67
67
* _consume asynchronously from streams and resume where left off_ thanks to
68
68
automatic or manual offset tracking.
69
-
* _enforce https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/[best practices] to create client connections_ – to stream leaders for publishers to minimize inter-node traffic and to stream replicas for consumers to offload leaders.
69
+
* _enforce https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams/#client-workaround-with-a-load-balancer[best practices] to create client connections_ – to stream leaders for publishers to minimize inter-node traffic and to stream replicas for consumers to offload leaders.
70
70
* _optimize resources_ thanks to automatic growing and shrinking of
71
71
connections depending on the number of publishers and consumers.
72
72
* _let the client handle network failure_ thanks to automatic connection
0 commit comments