|
5 | 5 |
|
6 | 6 | _Subscriptions_ in {pulsar-reg} describe which consumers are consuming data from a topic and how they want to consume that data. |
7 | 7 |
|
8 | | -{pulsar-short}'s xref:astream-subscriptions-shared.adoc[shared subscription] model can increase the message processing rate, but it risks losing message ordering guarantees. |
| 8 | +{pulsar-short}'s xref:ROOT:astream-subscriptions-shared.adoc[shared subscription] model can increase the message processing rate, but it risks losing message ordering guarantees. |
9 | 9 | In a round-robin delivery, there's no way for the broker to know which messages are going to which consumer. |
10 | 10 |
|
11 | 11 | _Key shared subscriptions_ allow multiple consumers to subscribe to a topic, and provide additional metadata in the form of _keys_ that link messages to specific consumers. |
@@ -38,7 +38,7 @@ If you need to set fixed hash ranges, use the `<<use-stickyhashrange,stickyHashR |
38 | 38 | === Use autoSplitHashRange |
39 | 39 |
|
40 | 40 | To automatically assign hash ranges to consumers, use the `autoSplitHashRange` policy. |
41 | | -Running multiple consumers with `autoSplitHashRange` balances the messaging load across all available consumers, like a xref:astream-subscriptions-shared.adoc[shared subscription]. |
| 41 | +Running multiple consumers with `autoSplitHashRange` balances the messaging load across all available consumers, like a xref:ROOT:astream-subscriptions-shared.adoc[shared subscription]. |
42 | 42 |
|
43 | 43 | . In `src/main/java/com/datastax/pulsar`, create a `SimplePulsarConsumer.java` file with the following contents: |
44 | 44 | + |
@@ -211,7 +211,7 @@ Then, you can launch multiple instances of `SimplePulsarConsumer.java` to consum |
211 | 211 |
|
212 | 212 | == See also |
213 | 213 |
|
214 | | -* xref:astream-subscriptions.adoc[] |
215 | | -* xref:astream-subscriptions-exclusive.adoc[] |
216 | | -* xref:astream-subscriptions-shared.adoc[] |
217 | | -* xref:astream-subscriptions-failover.adoc[] |
| 214 | +* xref:ROOT:astream-subscriptions.adoc[] |
| 215 | +* xref:ROOT:astream-subscriptions-exclusive.adoc[] |
| 216 | +* xref:ROOT:astream-subscriptions-shared.adoc[] |
| 217 | +* xref:ROOT:astream-subscriptions-failover.adoc[] |
0 commit comments