mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Merge branch 'master' into feature/mcy
# Conflicts: # client-adapter/launcher/src/main/resources/application.yml
This commit is contained in:
@@ -188,14 +188,6 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<excludes>
|
|
||||||
<exclude>application.yml</exclude>
|
|
||||||
</excludes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
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
|
||||||
@@ -3,61 +3,8 @@ server:
|
|||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.alibaba.otter.canal.client.adapter.hbase: DEBUG
|
com.alibaba.otter.canal.client.adapter.hbase: DEBUG
|
||||||
com.alibaba.otter.canal.client.adapter.es: DEBUG
|
|
||||||
spring:
|
spring:
|
||||||
jackson:
|
jackson:
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
default-property-inclusion: non_null
|
default-property-inclusion: non_null
|
||||||
|
|
||||||
|
|
||||||
hbasezookeeper.quorum: 127.0.0.1
|
|
||||||
hbase.zookeeper.property.clientPort: 2181
|
|
||||||
hbase.zookeeper.znode.parent: /hbase
|
|
||||||
|
|
||||||
canal.conf:
|
|
||||||
canalServerHost: 127.0.0.1:11111
|
|
||||||
# zookeeperHosts: slave1:2181
|
|
||||||
# bootstrapServers: slave1:6667 #or rocketmq nameservers:host1:9876;host2:9876
|
|
||||||
flatMessage: true
|
|
||||||
retry: 3
|
|
||||||
timeout: 20000
|
|
||||||
batchSize: 50
|
|
||||||
canalInstances:
|
|
||||||
- instance: example
|
|
||||||
groups:
|
|
||||||
- outAdapters:
|
|
||||||
# - name: es
|
|
||||||
# hosts: 127.0.0.1:9300
|
|
||||||
# properties:
|
|
||||||
# cluster.name: elasticsearch
|
|
||||||
- name: logger
|
|
||||||
# - name: hbase
|
|
||||||
# properties:
|
|
||||||
# hbase.zookeeper.quorum: ${hbase.zookeeper.quorum}
|
|
||||||
# hbase.zookeeper.property.clientPort: ${hbase.zookeeper.property.clientPort}
|
|
||||||
# zookeeper.znode.parent: ${hbase.zookeeper.znode.parent}
|
|
||||||
# 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
|
|
||||||
- es/mytest_user.yml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user