Skip to content

Distributed ID generation

Latest

Choose a tag to compare

@chenws1012 chenws1012 released this 26 Mar 07:58
· 7 commits to main since this release

The snowflake algorithm generates an ID, and the workId is automatically assigned by zookeeper to ensure uniqueness.
Monitor the zookeeper connection status. If zookeeper is disconnected, re-register your workId