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

这个ID生成器,已经长期没人维护了,只能说能用,要用最好fork改一份 #43

Open
cnlinjie opened this issue Sep 25, 2022 · 0 comments

Comments

@cnlinjie
Copy link

cnlinjie commented Sep 25, 2022

这个ID生成器,已经长期没人维护了,只能说能用,要用最好fork改一份,否则挺多陈旧的代码。

如果要用的,几个要点需要改下:

  1. Server 端 数据库不支持mysql8.x 及以上的
  2. 最好升级下springboot 版本,1.x 过于陈旧,升级时,需要改动一下代码
  3. 使用 hikari. 连接池替换 tomcat 自带连接池,提高性能
  4. 升级为 springboot 2.x 及以上,server.context-path 需要 更改为 server.servlet.context-path
  5. Client 端,默认硬编码读取resource 下的 tinyid_client.properties 配置文件,不太友好,最好改成可配置

其他的BUG,PR 有修复,有人维护的话最好是合并下吧。

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

1 participant