From 02a99053f64fc4eb80a578cb118d89c0da1c3d70 Mon Sep 17 00:00:00 2001 From: Alvaro <102966649+AlvaroStream@users.noreply.github.com> Date: Fri, 10 May 2024 15:44:21 +0200 Subject: [PATCH] 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. :::