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
5
5
` SynchronizedUniqueIDGenerator ` classes conform to the following structure:
6
6
7
7
```
8
- TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS ...MGGGG GGGGCCCC
8
+ TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS GGGMGGGG GGGGCCCC
9
9
| | | || |
10
10
v | | |\ |
11
11
| v \ \ |
12
12
Date 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. | | |
16
16
| | | |
17
17
v | | |
18
18
| | |
@@ -27,13 +27,13 @@ mode) to guarantee an even spread of IDs. | use. | | |
27
27
v |
28
28
|
29
29
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. |
32
32
v
33
33
34
34
Cluster ID. Always manually assigned
35
35
or statically configured. Limited to
36
- 16 (actieve ) clusters.
36
+ 16 (active ) clusters.
37
37
```
38
38
39
39
This approach offers a few useful features:
You can’t perform that action at this time.
0 commit comments