-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DBZ-6493 basic description and documentation in README
- Loading branch information
Showing
1 changed file
with
60 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,60 @@ | ||
# Debezium Operator | ||
# Debezium Operator | ||
|
||
Debezium operator provides an easy way to run the Debezium Server on Kubernetes or Openshift. | ||
|
||
## Installation steps | ||
The debezium operator currently support per namespace installation. To install the operator to your kubernetes cluster, simply create the descriptors available in the `k8` directory. | ||
|
||
```bash | ||
kubectl create -f k8/ -n $NAMESPACE | ||
``` | ||
|
||
### Quickstart Example | ||
The `exmaples/postgres` directory contains an example deployment of debezium server with PostgreSQL source and kafka sink. | ||
|
||
```bash | ||
# Install Strimzi Kafka operator | ||
kubectl create -f "https://strimzi.io/install/latest?namespace=$NAMESPACE" -n $NAMESPACE | ||
|
||
# Deploy PostgreSQL, Kafka and Debezium Server | ||
kubectl create -f examples/postgres/ -n $NAMESPACE | ||
``` | ||
|
||
## DebeziumServerSpec Reference | ||
```yaml | ||
spec: | ||
version: String | ||
image: String # exclusive with version | ||
storage: | ||
type: persistent | ephemeral # enum | ||
claimName: String # only valid and required for persistent | ||
externalConfiguration: | ||
env: EnvFromSource array # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#envfromsource-v1-core | ||
volumes: Volume array # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#volume-v1-core | ||
quarkus: | ||
# quarkus properties | ||
format: | ||
value: | ||
type: String | ||
# other format properties | ||
key: | ||
type: String | ||
header: | ||
type: String | ||
transforms: | ||
- name: String | ||
type: String | ||
predicate: String | ||
negate: Boolean | ||
# other transformation properties | ||
predicates: | ||
- name: String | ||
type: String | ||
# other preticate properties | ||
sink: | ||
type: String | ||
# other sink properties | ||
source: | ||
class: String | ||
# other source connector properties | ||
``` |