资源简介

做畅购商城的数据同步,使用canal时会用得到

Canal的第三方Jar包,没有这个依赖,无法启用canal,做不了广告微服务的数据缓存同步,


直接Mvn install安装到本地仓库即可,详见文件说明

资源截图

代码片段和文件信息

package com.example.canatest;

import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableCanalClient
public class CanaTestApplication {

public static void main(String[] args) {
SpringApplication.run(CanaTestApplication.class args);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-02-14 21:22  spring-boot-starter-canal-master\
     目录           0  2020-02-14 21:22  spring-boot-starter-canal-master\.idea\
     文件         721  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\compiler.xml
     目录           0  2020-02-14 21:22  spring-boot-starter-canal-master\.idea\dictionaries\
     文件          85  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\dictionaries\kirit0.xml
     文件         253  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\encodings.xml
     目录           0  2020-02-14 21:22  spring-boot-starter-canal-master\.idea\inspectionProfiles\
     文件        1444  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\inspectionProfiles\Project_Default.xml
     目录           0  2020-02-14 21:22  spring-boot-starter-canal-master\.idea\libraries\
     文件         601  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml
     文件         580  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml
     文件         529  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_101tec_zkclient_0_10.xml
     文件         547  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_alibaba_fastjson_1_2_28.xml
     文件         599  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_alibaba_otter_canal_client_1_0_25.xml
     文件         599  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_alibaba_otter_canal_common_1_0_25.xml
     文件         613  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_alibaba_otter_canal_protocol_1_0_25.xml
     文件         555  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         677  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         628  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_4.xml
     文件         656  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_4.xml
     文件         707  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_4.xml
     文件         721  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_4.xml
     文件         762  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_4.xml
     文件         532  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_google_guava_guava_18_0.xml
     文件         607  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_google_protobuf_protobuf_java_2_6_1.xml
     文件         579  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml
     文件         733  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         576  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__commons_codec_commons_codec_1_11.xml
     文件         536  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__commons_io_commons_io_2_4.xml
     文件         558  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__commons_lang_commons_lang_2_6.xml
     文件         584  2018-05-30 14:08  spring-boot-starter-canal-master\.idea\libraries\Maven__io_netty_netty_all_4_1_22_Final.xml
............此处省略142个文件信息

评论

共有 条评论