Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

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

@cnlinjie

Description

@cnlinjie

这个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 有修复,有人维护的话最好是合并下吧。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions