聊聊canal的CanalAdapterService
序 本文主要研究一下canal的CanalAdapterService CanalAdapterService canal-1.1.4/client-adapter/launcher/src/main/java/com/alibaba/otter/canal/adapter/launcher/loader/CanalAdapterService.java @Component @RefreshScope public class CanalAdapterService { private static final Logger logger = LoggerFactory.getLogger(CanalAdapterService.class); private CanalAdapterLoader adapterLoader; @Resource private ContextRefresher contextRefresher; @Resource private AdapterCanalConfig adapterCanalConfig; @Resource private Environment env; // 注入bean保证优先注册 @Resource private SpringContext springContext; @Resource private