This is an automated email from the ASF dual-hosted git repository.
visortelle pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 02a99053f64f Add key_shared advice to Cumulative Ack note (#895)
02a99053f64f is described below
commit 02a99053f64fc4eb80a578cb118d89c0da1c3d70
Author: Alvaro <[email protected]>
AuthorDate: Fri May 10 15:44:21 2024 +0200
Add key_shared advice to Cumulative Ack note (#895)
* Add key_shared advice to Cumulative Ack note as mentioned in
apache/pulsar/issues/22691
---
docs/concepts-messaging.md | 2 +-
versioned_docs/version-2.11.x/concepts-messaging.md | 2 +-
versioned_docs/version-3.0.x/concepts-messaging.md | 2 +-
versioned_docs/version-3.2.x/concepts-messaging.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/concepts-messaging.md b/docs/concepts-messaging.md
index 62640669bf66..b5419c47f786 100644
--- a/docs/concepts-messaging.md
+++ b/docs/concepts-messaging.md
@@ -84,7 +84,7 @@ consumer.acknowledgeCumulative(msg);
:::note
-Cumulative acknowledgment cannot be used in [Shared subscription
type](#subscription-types), because Shared subscription type involves multiple
consumers which have access to the same subscription. In Shared subscription
type, messages are acknowledged individually.
+Cumulative acknowledgment cannot be used in [Shared or Key_shared subscription
type](#subscription-types), because Shared or Key_Shared subscription type
involves multiple consumers which have access to the same subscription. In
Shared and Key_Shared subscription types, messages should be acknowledged
individually.
:::
diff --git a/versioned_docs/version-2.11.x/concepts-messaging.md
b/versioned_docs/version-2.11.x/concepts-messaging.md
index 4a8d22cc826d..9ed5ab56f15e 100644
--- a/versioned_docs/version-2.11.x/concepts-messaging.md
+++ b/versioned_docs/version-2.11.x/concepts-messaging.md
@@ -227,7 +227,7 @@ consumer.acknowledgeCumulative(msg);
:::note
-Cumulative acknowledgment cannot be used in [Shared subscription
type](#subscription-types), because Shared subscription type involves multiple
consumers which have access to the same subscription. In Shared subscription
type, messages are acknowledged individually.
+Cumulative acknowledgment cannot be used in [Shared or Key_shared subscription
type](#subscription-types), because Shared or Key_Shared subscription type
involves multiple consumers which have access to the same subscription. In
Shared and Key_Shared subscription types, messages should be acknowledged
individually.
:::
diff --git a/versioned_docs/version-3.0.x/concepts-messaging.md
b/versioned_docs/version-3.0.x/concepts-messaging.md
index a84d68a7814a..628488bde16e 100644
--- a/versioned_docs/version-3.0.x/concepts-messaging.md
+++ b/versioned_docs/version-3.0.x/concepts-messaging.md
@@ -78,7 +78,7 @@ consumer.acknowledgeCumulative(msg);
:::note
-Cumulative acknowledgment cannot be used in [Shared subscription
type](#subscription-types), because Shared subscription type involves multiple
consumers which have access to the same subscription. In Shared subscription
type, messages are acknowledged individually.
+Cumulative acknowledgment cannot be used in [Shared or Key_shared subscription
type](#subscription-types), because Shared or Key_Shared subscription type
involves multiple consumers which have access to the same subscription. In
Shared and Key_Shared subscription types, messages should be acknowledged
individually.
:::
diff --git a/versioned_docs/version-3.2.x/concepts-messaging.md
b/versioned_docs/version-3.2.x/concepts-messaging.md
index fd720434dc60..e630fa27f3f2 100644
--- a/versioned_docs/version-3.2.x/concepts-messaging.md
+++ b/versioned_docs/version-3.2.x/concepts-messaging.md
@@ -84,7 +84,7 @@ consumer.acknowledgeCumulative(msg);
:::note
-Cumulative acknowledgment cannot be used in [Shared subscription
type](#subscription-types), because Shared subscription type involves multiple
consumers which have access to the same subscription. In Shared subscription
type, messages are acknowledged individually.
+Cumulative acknowledgment cannot be used in [Shared or Key_shared subscription
type](#subscription-types), because Shared or Key_Shared subscription type
involves multiple consumers which have access to the same subscription. In
Shared subscription type, messages are acknowledged individually.
:::