Skip to content

Commit df29bc1

Browse files
authored
cleans up deploy files of unused params (project-kessel#1196)
1 parent d60cf93 commit df29bc1

4 files changed

Lines changed: 4 additions & 16 deletions

File tree

deploy/archived/kessel-inventory-ephem-w-kafka.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ objects:
242242
strimzi.io/cluster: inventory-kafka-connect
243243
spec:
244244
class: io.debezium.connector.postgresql.PostgresConnector
245-
tasksMax: ${{MAX_TASKS}}
245+
tasksMax: 1 # source connector only supports 1 task
246246
config:
247247
database.server.name: kessel-inventory-db
248248
database.dbname: ${secrets:kessel-inventory-db:db.name}
@@ -360,9 +360,6 @@ parameters:
360360
- name: KAFKA_CONNECT_INSTANCE
361361
value: inventory-kafka-connect
362362
description: Name of the target Kafka Connect instance for Connector
363-
- name: MAX_TASKS
364-
value: "1"
365-
description: How many tasks the Kafka Connect instance can create to process this Connector's work
366363
- name: TOPIC_HEARTBEAT_PREFIX
367364
value: debezium-heartbeat
368365
description: Prefix for the connector heartbeat topic

deploy/debezium/debezium-connector.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ objects:
1111
strimzi.io/cluster: ${KAFKA_CONNECT_INSTANCE}
1212
spec:
1313
class: io.debezium.connector.postgresql.PostgresConnector
14-
tasksMax: ${{MAX_TASKS}}
14+
tasksMax: 1 # source connector only supports 1 task
1515
config:
1616
database.server.name: kessel-inventory-db
1717
database.dbname: ${secrets:kessel-inventory-db:db.name}
@@ -35,9 +35,6 @@ parameters:
3535
- name: KAFKA_CONNECT_INSTANCE
3636
value: platform-kafka-connect
3737
description: Name of the target Kafka Connect instance for Connector
38-
- name: MAX_TASKS
39-
value: "1"
40-
description: How many tasks the Kafka Connect instance can create to process this Connector's work
4138
- name: TOPIC_HEARTBEAT_PREFIX
4239
value: debezium-heartbeat
4340
description: Prefix for the connector heartbeat topic

deploy/kessel-inventory-ephem.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ objects:
293293
strimzi.io/cluster: kessel-kafka-connect
294294
spec:
295295
class: io.debezium.connector.postgresql.PostgresConnector
296-
tasksMax: ${{MAX_TASKS}}
296+
tasksMax: 1 # source connector only supports 1 task
297297
config:
298298
slot.name: kessel_inventory_debezium
299299
database.server.name: kessel-inventory-db
@@ -413,9 +413,6 @@ parameters:
413413
- description: Number of replicas
414414
name: REPLICAS
415415
value: "1"
416-
- name: MAX_TASKS
417-
value: "1"
418-
description: How many tasks the Kafka Connect instance can create to process this Connector's work
419416
- name: TOPIC_HEARTBEAT_PREFIX
420417
value: debezium-heartbeat
421418
description: Prefix for the connector heartbeat topic

development/kessel-inventory-ephem-w-auth-test.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ objects:
8787
strimzi.io/cluster: kessel-kafka-connect
8888
spec:
8989
class: io.debezium.connector.postgresql.PostgresConnector
90-
tasksMax: ${{MAX_TASKS}}
90+
tasksMax: 1 # source connector only supports 1 task
9191
config:
9292
slot.name: kessel_inventory_debezium
9393
database.server.name: kessel-inventory-db
@@ -213,9 +213,6 @@ parameters:
213213
- description: Number of replicas
214214
name: REPLICAS
215215
value: "1"
216-
- name: MAX_TASKS
217-
value: "1"
218-
description: How many tasks the Kafka Connect instance can create to process this Connector's work
219216
- name: TOPIC_HEARTBEAT_PREFIX
220217
value: debezium-heartbeat
221218
description: Prefix for the connector heartbeat topic

0 commit comments

Comments
 (0)