[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one
生活随笔
收集整理的這篇文章主要介紹了
[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
最近項目由alibaba dubbo升級到apache duboo 項目啟動時出現[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one告警
查看ConfigManager.getConfig()方法中會啟動時默認加載一個MonitorConfig#default
解決:只要把<dubbo:monitor address="" />放到啟動時優先加載的配置中,如果不需要去掉<dubbo:monitor address="" />也可以
總結
以上是生活随笔為你收集整理的[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux的掩码长度,Bash 实现子网
- 下一篇: mysql1044