Skip to content

Commit eccf216

Browse files
committed
Dedup publishing sequence does not have to start at 0
1 parent 892fdae commit eccf216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/api.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,9 +648,9 @@ include::{test-examples}/ProducerUsage.java[tag=message-with-publishing-id]
648648

649649
There are a few rules to follow when using a custom publishing ID sequence:
650650

651-
* the sequence should start at 0
652651
* the sequence must be strictly increasing
653652
* there can be gaps in the sequence (e.g. 0, 1, 2, 3, 6, 7, 9, 10, etc)
653+
* the sequence does not have to start at 0, as long as it is increasing
654654

655655
A custom publishing ID sequence has usually a meaning: it can be the line number of a file
656656
or the primary key in a database.

0 commit comments

Comments
 (0)