-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for table exclusion (#37)
* Update readme * Bump release version * Add minimal values example and test * Add table exclude support
- Loading branch information
1 parent
7d4865b
commit 93eb953
Showing
10 changed files
with
141 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# nephelaiio.dataplane | ||
|
||
A helm chart to deploy a CDC replication stack integrating the following components | ||
A helm chart to deploy a set of CDC replication connectors to create a data lake from a set of distributed databases | ||
|
||
Deployment integrates the following components | ||
* Metabase Data Reporting | ||
* Strimzi Kafka Broker | ||
* Zalando PostgreSQL Data Warehouse | ||
* Metabase Data Reporting | ||
* Strimzi Kafka Connect cluster | ||
* Strimzi Kafka Schema Registry | ||
* Strimzi Kafka Connect PostgreSQL sink | ||
|
@@ -17,13 +19,47 @@ helm repo update | |
helm install dataplane/dataplane | ||
``` | ||
|
||
## TODO | ||
## Values | ||
|
||
This is an example values definition for replicating pagila db: | ||
|
||
``` | ||
metabase: | ||
admin: | ||
email: [email protected] | ||
password: dataplane | ||
ingress: | ||
enabled: true | ||
className: nginx-private | ||
hostName: metabase.nephelai.io | ||
cdc: | ||
postgres: | ||
- hostname: pagilahost | ||
port: 5432 | ||
id: pagila | ||
dbname: pagila | ||
signaling: True | ||
strimzi: | ||
connect: | ||
secret: "metabase-pagila-db" | ||
kafka: | ||
storage: | ||
class: standard | ||
zookeeper: | ||
storage: | ||
class: standard | ||
zalando: | ||
metabase: | ||
class: standard | ||
``` | ||
|
||
## Roadmap | ||
In order of priority | ||
* Add support for partitioned PostgreSQL tables | ||
* Create python package for maintenance operations | ||
* Create and publish Topic Reroute transform | ||
* Add support for MySQL sources | ||
* Add config options for warehouse backups | ||
* Add monitoring for Kafka topics | ||
* Add table exclude support for cdc connectors | ||
* Add Opendistro deployment | ||
|
||
## Dependencies | ||
Chart depends on the following cluster levels components being deployed in the target cluster | ||
|
@@ -36,7 +72,7 @@ Chart depends on the following cluster levels components being deployed in the t | |
Cluster dependencies are provisioned with role [nephelaiio.k8s](https://github.com/nephelaiio/ansible-role-k8s) in testing environment | ||
|
||
## Testing | ||
Testing is performed using molecule against a local single-node kind cluster using Github Actions and can be replicated locally for the latest supported cluster version using the following commands: | ||
Testing is performed using molecule against a local cluster using Github Actions and can be replicated locally for the latest supported cluster version using the following commands: | ||
|
||
``` sh | ||
./bin/test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "dataplane" | ||
version = "0.1.12" | ||
version = "0.1.13" | ||
description = "" | ||
authors = ["Teodoro Cook <[email protected]>"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
metabase: | ||
admin: | ||
email: [email protected] | ||
password: dataplane | ||
ingress: | ||
enabled: true | ||
className: nginx-private | ||
hostName: metabase.nephelai.io | ||
cdc: | ||
postgres: | ||
- hostname: pagilahost | ||
id: pagila | ||
dbname: pagila | ||
exclude: | ||
- "public.staff" | ||
partitions: | ||
- source: "public.payment.*" | ||
sink: "payment" | ||
strimzi: | ||
connect: | ||
secret: "metabase-pagila-db" | ||
kafka: | ||
storage: | ||
class: standard | ||
zookeeper: | ||
storage: | ||
class: standard | ||
zalando: | ||
metabase: | ||
class: standard |