This repository contains go implementation of a Couchbase Database Change Protocol (DCP) client.
- Our main goal is to build a dcp client for faster and stateful systems. We want to use this repository in below
implementations:
- Couchbase Elastic Connector
- Kafka Connector
- Metrics calculator
- Kubernetes StatefulSet membership
- Kubernetes High Availability
- Auto membership
- Durable connection
- Auto restart
$ go get github.com/Trendyol/go-dcp-client
Variable | Type | Is Required |
---|---|---|
hosts |
array | yes |
username |
string | yes |
password |
string | yes |
bucketName |
string | yes |
metadataBucket |
string | yes |
dcp.group.name |
string | yes |
dcp.group.membership.type |
string | yes |
dcp.group.membership.memberNumber |
integer | no |
dcp.group.membership.totalMembers |
integer | no |
api.port |
integer | yes |
metric.enabled |
boolean (true/false) | yes |
metric.path |
string | yes |
leaderElection.enabled |
boolean (true/false) | yes |
leaderElection.type |
string | no |
leaderElection.config |
string/string key value map | no |
leaderElection.rpc.port |
integer | no |