From a9727cf267c2a0f7e0abe80b68285f86ffa3e45e Mon Sep 17 00:00:00 2001 From: machey Date: Thu, 1 Nov 2018 23:43:53 +0800 Subject: [PATCH] =?UTF-8?q?release=E5=8C=85=E4=B8=8D=E6=89=93=E8=BF=9Bappl?= =?UTF-8?q?ication.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client-adapter/launcher/pom.xml | 18 +++++-- .../src/main/resources/application-sample.yml | 49 ------------------- .../src/main/resources/application.yml | 41 +++++++++++++++- 3 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 client-adapter/launcher/src/main/resources/application-sample.yml diff --git a/client-adapter/launcher/pom.xml b/client-adapter/launcher/pom.xml index 1a79ed21..f70254b0 100644 --- a/client-adapter/launcher/pom.xml +++ b/client-adapter/launcher/pom.xml @@ -1,5 +1,6 @@ - + canal.client-adapter com.alibaba.otter @@ -134,12 +135,13 @@ - + - - + + @@ -201,6 +203,14 @@ + + + src/main/resources + + application.yml + + + diff --git a/client-adapter/launcher/src/main/resources/application-sample.yml b/client-adapter/launcher/src/main/resources/application-sample.yml deleted file mode 100644 index 706e4088..00000000 --- a/client-adapter/launcher/src/main/resources/application-sample.yml +++ /dev/null @@ -1,49 +0,0 @@ -server: - port: 8081 -logging: - level: - com.alibaba.otter.canal.client.adapter.hbase: DEBUG -spring: - jackson: - date-format: yyyy-MM-dd HH:mm:ss - time-zone: GMT+8 - default-property-inclusion: non_null - -canal.conf: - canalServerHost: 127.0.0.1:11111 -# zookeeperHosts: slave1:2181 -# bootstrapServers: slave1:6667 #or rocketmq -# flatMessage: true - canalInstances: - - instance: example - groups: - - outAdapters: - - name: logger -# - name: hbase -# properties: -# hbase.zookeeper.quorum: 127.0.0.1 -# hbase.zookeeper.property.clientPort: 2181 -# zookeeper.znode.parent: /hbase -# mqTopics: -# - mqMode: kafka -# topic: example -# groups: -# - groupId: g2 -# outAdapters: -# - name: logger -# mqTopics: -# - mqMode: rocketmq -# topic: example -# groups: -# - groupId: g2 -# outAdapters: -# - name: logger -# -#adapter.conf: -# datasourceConfigs: -# defaultDS: -# url: jdbc:mysql://127.0.0.1:3306/mytest?useUnicode=true -# username: root -# password: 121212 -# adapterConfigs: -# - hbase/mytest_person2.yml diff --git a/client-adapter/launcher/src/main/resources/application.yml b/client-adapter/launcher/src/main/resources/application.yml index 7fe7b191..ae3648b7 100644 --- a/client-adapter/launcher/src/main/resources/application.yml +++ b/client-adapter/launcher/src/main/resources/application.yml @@ -7,4 +7,43 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 - default-property-inclusion: non_null \ No newline at end of file + default-property-inclusion: non_null + +#canal.conf: +# canalServerHost: 127.0.0.1:11111 +# zookeeperHosts: slave1:2181 +# bootstrapServers: slave1:6667 #or rocketmq +# flatMessage: true +# canalInstances: +# - instance: example +# groups: +# - outAdapters: +# - name: logger +# - name: hbase +# properties: +# hbase.zookeeper.quorum: 127.0.0.1 +# hbase.zookeeper.property.clientPort: 2181 +# zookeeper.znode.parent: /hbase +# mqTopics: +# - mqMode: kafka +# topic: example +# groups: +# - groupId: g2 +# outAdapters: +# - name: logger +# mqTopics: +# - mqMode: rocketmq +# topic: example +# groups: +# - groupId: g2 +# outAdapters: +# - name: logger +# +#adapter.conf: +# datasourceConfigs: +# defaultDS: +# url: jdbc:mysql://127.0.0.1:3306/mytest?useUnicode=true +# username: root +# password: 121212 +# adapterConfigs: +# - hbase/mytest_person2.yml