Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 993 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 993 Bytes

license maven springboot

x7/x7-repo DETAILED README

如何使用第三方id生成器

   1. @SpringBootApplication(exclude = IdGeneratorAutoConfiguration.class)
   2. 参照x7-id-generator工程, 新建工程,实现自定义的IdGeneratorService, 代码如下:
        public interface MyIdGeneratorService extends IdGeneratorProxy       

NOTES

   1. A method, coded with io.xream/acku or seata, maybe we can not use:
        @Lock  or 
        { DistributionLock.by(key).lock(task) }