File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ The eight byte IDs generated by the `LocalUniqueIDGenerator` and
55` SynchronizedUniqueIDGenerator ` classes conform to the following structure:
66
77```
8- TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS ...MGGGG GGGGCCCC
8+ TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS GGGMGGGG GGGGCCCC
99| | | || |
1010v | | |\ |
1111 | v \ \ |
1212Date of ID creation, measured in milliseconds | \ \ |
13- ellapsed since 1970-01-01T00:00:00.000, | Reserved \ \ |
14- represented in reverse byte-order (in SPREAD | for future | | |
15- mode) to guarantee an even spread of IDs. | use. | | |
13+ ellapsed since 1970-01-01T00:00:00.000, | Generator \ \ |
14+ represented in reverse byte-order (in SPREAD | ID, see | | |
15+ mode) to guarantee an even spread of IDs. | below. | | |
1616 | | | |
1717 v | | |
1818 | | |
@@ -27,13 +27,13 @@ mode) to guarantee an even spread of IDs. | use. | | |
2727 v |
2828 |
2929 Generator ID, manually assigned, or acquired |
30- through negotiation via a ZooKeeper-quorum. |
31- |
30+ through negotiation via Etcd. Limited to 2048 |
31+ per Cluster ID. |
3232 v
3333
3434 Cluster ID. Always manually assigned
3535 or statically configured. Limited to
36- 16 (actieve ) clusters.
36+ 16 (active ) clusters.
3737```
3838
3939This approach offers a few useful features:
You can’t perform that action at this time.
0 commit comments