cdc: pass an (arbitrary) kafka topic name in the destination path string #59300
Labels
A-cdc
Change Data Capture
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Is your feature request related to a problem? Please describe.
A customer has the following use case:
All of their table names have underscores in their names (Ex: sample_table) but when they try to create a k8s KafkaTopic with the same name, they get an error because k8s uses hyphens ('-') instead of underscores ('_') for names.
The problem is they can not create tables with hyphens in their name because of database naming standards and they cannot create k8s KafkaTopic's with underscore because of k8s naming standards. How do they map the topics to tables for changefeed in this scenario?
Describe the solution you'd like
A possible solution would be to pass an (arbitrary) kafka topic name in the destination path string
Describe alternatives you've considered
An alternative they tried was adding spec.topicName: strimzi/strimzi-kafka-operator#2931.
In the
crdb_kafka.yaml
, they tried modifying name and adding topicName:Additional context
A related issue is: #58302
The text was updated successfully, but these errors were encountered: