commit:集成Minio

This commit is contained in:
Jerry
2020-10-19 22:53:01 +08:00
parent c7bb5fd289
commit dc3a8ecfac
521 changed files with 6373 additions and 5339 deletions

View File

@@ -6,7 +6,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
* common-sequence模块的自动配置引导类。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@EnableConfigurationProperties({IdGeneratorProperties.class})
public class IdGeneratorAutoConfigure {

View File

@@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* common-sequence模块的配置类。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Data
@ConfigurationProperties(prefix = "sequence")

View File

@@ -9,7 +9,7 @@ import cn.hutool.core.util.IdUtil;
* WorkNodeId是通过配置文件静态指定的。而SnowflakeIdGenerator的WorkNodeId是由zk生成的。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
public class BasicIdGenerator implements MyIdGenerator {

View File

@@ -4,7 +4,7 @@ package com.orange.demo.common.sequence.generator;
* 分布式Id生成器的统一接口。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
public interface MyIdGenerator {

View File

@@ -12,7 +12,7 @@ import javax.annotation.PostConstruct;
* 分布式Id生成器的封装类。该对象可根据配置选择不同的生成器实现类。
*
* @author Jerry
* @date 2020-09-27
* @date 2020-10-19
*/
@Component
public class IdGeneratorWrapper {