摘要:
过程很曲折 本地windows安装zookeeper,要下载带“bin”的包,不然是未进行编译的,不能运行 “ZooKeeper audit is disabled” 是版本问题。用:apache-zookeeper-3.5.8-bin tar在windows上解压不能成功 防火墙也关了的,端口也开 阅读全文
摘要:
依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 说明 原来的jedis已经不用了,被替换 阅读全文
摘要:
异步任务 (程序不会等,直接往下执行) 实现方式: 主启动类加注解@EnableAsync+方法上加@Async //开启异步注解功能 @EnableAsync @SpringBootApplication public class TaskTestApplication { public stat 阅读全文