Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬请问能否根据不同的key去生成不同的ID呢 #100

Open
hunshimowang6 opened this issue Apr 7, 2024 · 3 comments
Open

大佬请问能否根据不同的key去生成不同的ID呢 #100

hunshimowang6 opened this issue Apr 7, 2024 · 3 comments

Comments

@hunshimowang6
Copy link

image

@yitter
Copy link
Owner

yitter commented Apr 8, 2024

key是什么,跟生成的ID是什么关系?

@ZoMinster
Copy link

就是不同的表其实可以分开控制,现在都是所有表共用一个生成id的实例

@ZoMinster
Copy link

可以把regworkerid改下,变成分表生成workerid,我自己改了一个版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants