-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[G2P-2355] Added helm-chart for debezium and updated all the connectors.
- Loading branch information
Showing
16 changed files
with
319 additions
and
186 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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,6 @@ | ||
apiVersion: v2 | ||
name: debezium | ||
description: Debezium Helm chart | ||
type: application | ||
version: 0.0.0-develop | ||
appVersion: 1.7.1.Final |
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,3 @@ | ||
# opensearch-debezium Helm Chart | ||
|
||
This chart bootstraps a deployment of a opensearch-debezium |
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,13 @@ | ||
{{- define "debezium.name" -}} | ||
{{- .Release.Name | trimPrefix "debezium-" -}} | ||
{{- end }} | ||
|
||
{{- define "debezium.selectorLabels" -}} | ||
app: {{ .Chart.Name }} | ||
connector: {{ include "debezium.name" . }} | ||
{{- end }} | ||
|
||
{{- define "debezium.labels" -}} | ||
{{ include "debezium.selectorLabels" . }} | ||
managed-by: {{ .Release.Service | lower }} | ||
{{- end }} |
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,67 @@ | ||
{{ if .Values.debezium.enabled }} | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: debezium-deploy | ||
labels: | ||
app: debezium | ||
spec: | ||
replicas: {{ .Values.debezium.replicaCount }} | ||
selector: | ||
matchLabels: | ||
app: debezium | ||
template: | ||
metadata: | ||
labels: | ||
app: debezium | ||
spec: | ||
containers: | ||
- name: debezium-container | ||
image: {{ .Values.debezium.image }} | ||
imagePullPolicy: {{ .Values.debezium.imagePullPolicy }} | ||
env: | ||
- name: BOOTSTRAP_SERVERS | ||
value: {{ .Values.debezium.kafka.server }} | ||
- name: GROUP_ID | ||
value: {{ .Values.debezium.kafka.groupId | quote }} | ||
- name: OFFSET_STORAGE_TOPIC | ||
value: {{ .Values.debezium.kafka.topics.offset }} | ||
- name: CONFIG_STORAGE_TOPIC | ||
value: {{ .Values.debezium.kafka.topics.config }} | ||
- name: STATUS_STORAGE_TOPIC | ||
value: {{ .Values.debezium.kafka.topics.status }} | ||
ports: | ||
- containerPort: {{ .Values.debezium.port }} | ||
- name: debezium-fixer | ||
image: {{ .Values.debezium.fixer_container.image }} | ||
imagePullPolicy: {{ .Values.debezium.fixer_container.imagePullPolicy }} | ||
env: | ||
- name: MY_POD_IP | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.podIP | ||
- name: STARTUP_DELAY | ||
value: {{ .Values.debezium.fixer_container.startup_delay }} | ||
- name: PROBE_TIME_PERIOD | ||
value: {{ .Values.debezium.fixer_container.probe_time_period }} | ||
- name: ERROR_LEVEL1 | ||
value: {{ .Values.debezium.fixer_container.error_level1 | quote }} | ||
- name: ERROR_LEVEL2 | ||
value: {{ .Values.debezium.fixer_container.error_level2 | quote }} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: debezium-service | ||
labels: | ||
app: debezium-service | ||
spec: | ||
type: ClusterIP | ||
ports: | ||
- name: debezium | ||
protocol: TCP | ||
port: {{ .Values.debezium.port }} | ||
selector: | ||
app: debezium | ||
|
||
{{ end }} |
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,21 @@ | ||
debezium: | ||
enabled: true | ||
replicaCount: 1 | ||
image: debezium/connect:1.7.0.Final | ||
imagePullPolicy: Always | ||
port: 8083 | ||
fixer_container: | ||
image: mosipid/debezium-fixer:1.2.0.1-B2 | ||
imagePullPolicy: Always | ||
startup_delay: "30s" | ||
probe_time_period: "30s" | ||
error_level1: "failed" | ||
error_level2: "PSQLException: An I/O error occurred while sending to the backend" | ||
kafka: | ||
server: "kafka:9092" | ||
groupId: "1" | ||
topics: | ||
offset: debez-connect-offsets | ||
config: debez-connect-configs | ||
status: debez-connect-status | ||
|
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
Oops, something went wrong.