@Test
public void testSnowflakeId() {

    ExecutorService executorService = Executors.newFixedThreadPool(20);
    for (int i = 0; i < 20; i++) {
        executorService.execute(() -> {
            System.out.println("分布式 ID: " + idGenerator.snowflakeId());
        });
    }
    executorService.shutdown();
}