Skip to content

Commit d09ddda

Browse files
authored
Document PinnedByCorrelation (#218)
1 parent 655aab6 commit d09ddda

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/api/persistent-subscriptions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,18 @@ The main aim of this strategy is to decrease the likelihood of concurrency and
175175
ordering issues while maintaining load balancing. This is **not a guarantee**,
176176
and you should handle the usual ordering and concurrency issues.
177177

178+
### PinnedByCorrelation
179+
180+
The PinnedByCorrelation strategy is a consumer strategy available for persistent subscriptions
181+
It ensures that events with the same correlation id are consistently delivered to the same
182+
consumer within a subscription group.
183+
184+
:::note
185+
This strategy requires database version 21.10.1 or later. You can only create a persistent subscription
186+
with this strategy. To change the strategy, you must delete the existing subscription and create a
187+
new one with the desired settings.
188+
:::
189+
178190
## Updating a subscription group
179191

180192
You can edit the settings of an existing subscription group while it is running,

0 commit comments

Comments
 (0)