mirror of
https://gitee.com/52itstyle/spring-boot-seckill.git
synced 2026-05-13 19:02:39 +00:00
启动配置说明
This commit is contained in:
@@ -16,6 +16,7 @@ public class Application {
|
||||
/**
|
||||
* 1. 数据库乐观锁;2. 基于Redis的分布式锁;3. 基于ZooKeeper的分布式锁
|
||||
* 4. redis 订阅监听;5.kafka消息队列
|
||||
* 启动前 请配置application.properties中相关redis、zk以及kafka相关地址
|
||||
*/
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
SpringApplication.run(Application.class, args);
|
||||
|
||||
Reference in New Issue
Block a user