Skip to content

Commit

Permalink
feat: add kafka transaction topic
Browse files Browse the repository at this point in the history
Co-authored-by: ybelmekk <[email protected]>
Co-authored-by: Carl Hedgren<[email protected]>
  • Loading branch information
sindrerh2 and ybelMekk committed Nov 25, 2024
1 parent b648243 commit 95b24da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions canary-deployer/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: 1s
- name: CANARY_KAFKA_TOPIC
value: "{{ canary_kafka_topic }}"
- name: CANARY_KAFKA_TRANSACTION_TOPIC
value: "{{ canary_kafka_transaction_topic }}"
- name: CANARY_ENABLE_TRANSACTION
value: "{{ canary_enable_transaction }}"
- name: CANARY_KAFKA_GROUP_ID
value: "{{ groupid }}"
- name: CANARY_LOG_FORMAT
Expand Down
2 changes: 1 addition & 1 deletion cmd/canary/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const (
MetricsAddress = "metrics-address"
SlowConsumer = "slow-consumer"
KafkaTransactionTopic = "kafka-transaction-topic"
KafkaTransactionEnable = "enable-transaction-canary"
KafkaTransactionEnable = "enable-transaction"

// TODO: kafta-transaction-canary bits
// topic + enable,
Expand Down

0 comments on commit 95b24da

Please sign in to comment.