Skip to content

v1.4.0

Compare
Choose a tag to compare
@Ahoo-Wang Ahoo-Wang released this 04 Dec 06:14
· 982 commits to main since this release

add CosIdKeyGenerateAlgorithm to support org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm(cosid-shardingsphere)

Kotlin DSL

    implementation("me.ahoo.cosid:cosid-shardingsphere:${cosidVersion}")
spring:
  shardingsphere:
    rules:
      sharding:
        key-generators:
          cosid:
            type: COSID
            props:
              id-name: __share__