mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
降低kafka依赖的版本为0.9.0.1
申明server的running为volatile
This commit is contained in:
@@ -19,7 +19,7 @@ public class CanalServerStarter {
|
||||
|
||||
private static final String CLASSPATH_URL_PREFIX = "classpath:";
|
||||
private static final Logger logger = LoggerFactory.getLogger(CanalServerStarter.class);
|
||||
private static boolean running = false;
|
||||
private volatile static boolean running = false;
|
||||
|
||||
public static void init() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user