mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
@@ -73,7 +73,7 @@ public class CanalServerWithEmbedded extends AbstractCanalLifeCycle implements C
|
||||
if (!isStart()) {
|
||||
super.start();
|
||||
// 如果存在provider,则启动metrics service
|
||||
if(metricsPort < 0) {
|
||||
if(metricsPort > 0) {
|
||||
loadCanalMetrics();
|
||||
metrics.setServerPort(metricsPort);
|
||||
metrics.initialize();
|
||||
|
||||
Reference in New Issue
Block a user