Skip to content

Releases: chenws1012/commons

Distributed ID generation

Choose a tag to compare

@chenws1012 chenws1012 released this 26 Mar 07:58

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