Skip to content

Commit

Permalink
feat: upgrade go-dcp-client to 0.0.23 and example config update
Browse files Browse the repository at this point in the history
  • Loading branch information
erayarslan committed Mar 21, 2023
1 parent 0c0e1d5 commit 0da9735
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 deletions.
30 changes: 11 additions & 19 deletions example/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@ bucketName: dcp-test
scopeName: _default
collectionNames:
- _default
userAgent: stdout-listener
compression: true
metadataBucket: dcp-test-meta
connectTimeout: 10s
metadataScope: _default
metadataCollection: _default
dcp:
connectTimeout: 10s
group:
name: groupName
membership:
type: static
memberNumber: 1
totalMembers: 1
logging:
level: debug
kafka:
collectionTopicMapping:
_default: topicname

brokers:
- broker1
- broker2
Expand All @@ -30,23 +29,16 @@ kafka:
producerBatchSize: 50
producerBatchTickerDuration: 5s
requiredAcks: 1
# 0 -> None
# 1 -> Gzip
# 2 -> Snappy
# 3 -> Lz4
# 4 -> Zstd
# 0 -> None
# 1 -> Gzip
# 2 -> Snappy
# 3 -> Lz4
# 4 -> Zstd
compression: 0

#SSL configurations
# SSL configurations
secureConnection: true
#Config support env variable "$HOME/example/..."
# Config support env variable "$HOME/example/..."
rootCAPath: "example/stretch-kafka/rootCA.pem"
interCAPath: "example/stretch-kafka/interCA.pem"
scramUsername: "username"
scramPassword: "password"

checkpoint:
timeout: 100s

logging:
level: debug
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Trendyol/go-kafka-connect-couchbase
go 1.19

require (
github.com/Trendyol/go-dcp-client v0.0.22
github.com/Trendyol/go-dcp-client v0.0.23
github.com/gookit/config/v2 v2.2.1
github.com/segmentio/kafka-go v0.4.39
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA=
github.com/Microsoft/hcsshim v0.9.4 h1:mnUj0ivWy6UzbB1uLFqKR6F+ZyiDc7j4iGgHTpO+5+I=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/Trendyol/go-dcp-client v0.0.22 h1:TbKulZOjA0YJ2UjVuT4GSUezzGH7zKl9Jc81LRFyorg=
github.com/Trendyol/go-dcp-client v0.0.22/go.mod h1:f7AK3AIT0MyaOJrSKPVFk0RQPNmqH3WH46Xia42d2eo=
github.com/Trendyol/go-dcp-client v0.0.23 h1:24OFNgWk0UF03szqugNPXTgha92M2PplXToTL1VO/vY=
github.com/Trendyol/go-dcp-client v0.0.23/go.mod h1:f7AK3AIT0MyaOJrSKPVFk0RQPNmqH3WH46Xia42d2eo=
github.com/VividCortex/ewma v1.2.0 h1:f58SaIzcDXrSy3kWaHNvuJgJ3Nmz59Zji6XoJR/q1ow=
github.com/VividCortex/ewma v1.2.0/go.mod h1:nz4BbCtbLyFDeC9SUHbtcT5644juEuWfUAUnGx7j5l4=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down

0 comments on commit 0da9735

Please sign in to comment.