12345678910111213141516171819 |
- package com.atguigu.tingshu;
- import io.xzxj.canal.spring.annotation.EnableCanalListener;
- import org.springframework.boot.SpringApplication;
- import org.springframework.boot.autoconfigure.SpringBootApplication;
- import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
- /**
- * @author: atguigu
- * @create: 2025-03-21 15:46
- */
- @EnableCanalListener
- @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
- public class CanalClientApp {
- public static void main(String[] args) {
- SpringApplication.run(CanalClientApp.class, args);
- }
- }
|