新增 spring boot kafka 整合用例
This commit is contained in:
7
spring-boot/spring-boot-kafka/README.md
Normal file
7
spring-boot/spring-boot-kafka/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
java.time.Duration类下:
|
||||
private static final Pattern PATTERN =
|
||||
Pattern.compile("([-+]?)P(?:([-+]?[0-9]+)D)?" +
|
||||
"(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?",
|
||||
Pattern.CASE_INSENSITIVE);
|
||||
|
||||
1s 1.5s 0s 0.001S 1h 2d
|
Reference in New Issue
Block a user