This is an automated email from the ASF dual-hosted git repository.
lhotari 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 3974b4ae6352 [fix][doc] Remove not needed article in Key_Shared sticky
mapping documentation (#954)
3974b4ae6352 is described below
commit 3974b4ae6352fdfd1cd913c040e9e007282d49c8
Author: Philipp Dolif <[email protected]>
AuthorDate: Fri Oct 25 12:51:12 2024 +0200
[fix][doc] Remove not needed article in Key_Shared sticky mapping
documentation (#954)
* [fix][doc] Remove not needed article in Key_Shared sticky mapping
documentation
* Replace in all versions (although we don't need to maintain expired
versions)
---------
Co-authored-by: Lari Hotari <[email protected]>
---
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.1.x/concepts-messaging.md | 2 +-
versioned_docs/version-3.2.x/concepts-messaging.md | 2 +-
versioned_docs/version-3.3.x/concepts-messaging.md | 2 +-
versioned_docs/version-4.0.x/concepts-messaging.md | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/concepts-messaging.md b/docs/concepts-messaging.md
index 028cfce750c9..3885ae7bb13c 100644
--- a/docs/concepts-messaging.md
+++ b/docs/concepts-messaging.md
@@ -769,7 +769,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-Sticky assumes each consumer is mapped to a multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
+Sticky assumes each consumer is mapped to multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
diff --git a/versioned_docs/version-2.11.x/concepts-messaging.md
b/versioned_docs/version-2.11.x/concepts-messaging.md
index ee0446e65e5a..8fa324199f52 100644
--- a/versioned_docs/version-2.11.x/concepts-messaging.md
+++ b/versioned_docs/version-2.11.x/concepts-messaging.md
@@ -723,7 +723,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to a multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
+The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
Example:
diff --git a/versioned_docs/version-3.0.x/concepts-messaging.md
b/versioned_docs/version-3.0.x/concepts-messaging.md
index daf94b64b2be..2f559bdb006b 100644
--- a/versioned_docs/version-3.0.x/concepts-messaging.md
+++ b/versioned_docs/version-3.0.x/concepts-messaging.md
@@ -716,7 +716,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to a multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
+The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
Example:
diff --git a/versioned_docs/version-3.1.x/concepts-messaging.md
b/versioned_docs/version-3.1.x/concepts-messaging.md
index b5ad8c39ef57..ea92ef269bc3 100644
--- a/versioned_docs/version-3.1.x/concepts-messaging.md
+++ b/versioned_docs/version-3.1.x/concepts-messaging.md
@@ -740,7 +740,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to a multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
+The algorithm assumes there is a range of numbers between 0 to 2^16 (65,536).
Each consumer is mapped to multiple regions in this range and there is no
overlap between regions. The consumer is selected by running a modulo operation
on the message hash by the range size (65,536), the number received (0 <= i
< 65,536), is contained within a single region. The consumer mapped to the
region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
Example:
diff --git a/versioned_docs/version-3.2.x/concepts-messaging.md
b/versioned_docs/version-3.2.x/concepts-messaging.md
index 4329942009dd..81ba7ba2bab9 100644
--- a/versioned_docs/version-3.2.x/concepts-messaging.md
+++ b/versioned_docs/version-3.2.x/concepts-messaging.md
@@ -766,7 +766,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-Sticky assumes each consumer is mapped to a multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
+Sticky assumes each consumer is mapped to multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
diff --git a/versioned_docs/version-3.3.x/concepts-messaging.md
b/versioned_docs/version-3.3.x/concepts-messaging.md
index 4329942009dd..81ba7ba2bab9 100644
--- a/versioned_docs/version-3.3.x/concepts-messaging.md
+++ b/versioned_docs/version-3.3.x/concepts-messaging.md
@@ -766,7 +766,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-Sticky assumes each consumer is mapped to a multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
+Sticky assumes each consumer is mapped to multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.
diff --git a/versioned_docs/version-4.0.x/concepts-messaging.md
b/versioned_docs/version-4.0.x/concepts-messaging.md
index 2be7ae206233..be32879e8fb6 100644
--- a/versioned_docs/version-4.0.x/concepts-messaging.md
+++ b/versioned_docs/version-4.0.x/concepts-messaging.md
@@ -767,7 +767,7 @@ When a consumer is added, we add 100 marking points to the
circle as explained b
##### Sticky
-Sticky assumes each consumer is mapped to a multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
+Sticky assumes each consumer is mapped to multiple regions in a range of
numbers between 0 to 2^16 (65,536) and there is no overlap between regions. The
consumer is selected by running a modulo operation on the message hash by the
range size (65,536), the number received (0 <= i < 65,536), is contained
within a single region. The consumer mapped to the region is the one selected.
In this algorithm you have full control. Every newly added consumer specifies
the ranges it wishes to be mapped to by using Consumer API. When the consumer
object is constructed, you can specify the list of ranges. It's your
responsibility to make sure there are no overlaps and all the range is covered
by regions.