Skip to content

Commit 744205c

Browse files
committed
Update URL to blog posts
1 parent 48aceab commit 744205c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/docs/asciidoc/api.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Creating the environment to connect to a cluster node works usually seamlessly.
7575
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.
7676

7777
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.
7979

8080
To make the local development experience simple, the client library can choose to always use `localhost` for producers and consumers.
8181
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.
275275
==== When a Load Balancer is in Use
276276

277277
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.
279279

280280
The `EnvironmentBuilder#addressResolver(AddressResolver)` method allows intercepting the node resolution after metadata hints and before connection.
281281
Applications can use this hook to ignore metadata hints and always use the load balancer, as illustrated in the following snippet:
@@ -289,7 +289,7 @@ include::{test-examples}/EnvironmentUsage.java[tag=address-resolver]
289289
<2> Use load balancer address for initial connection
290290
<3> Ignore metadata hints, always use load balancer
291291

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].
293293

294294
==== Managing Streams
295295

src/docs/asciidoc/overview.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ can also be useful for development and testing.
6666
* _avoid publishing duplicate messages_ thanks to message deduplication.
6767
* _consume asynchronously from streams and resume where left off_ thanks to
6868
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.
7070
* _optimize resources_ thanks to automatic growing and shrinking of
7171
connections depending on the number of publishers and consumers.
7272
* _let the client handle network failure_ thanks to automatic connection

0 commit comments

Comments
 (0)