Replies: 5 comments 4 replies
-
Cc @vsaraswat i think this is a good idea. We already have the admin api exposed. So we’ll need to think through the dev Experience here. I think adding it to rpk would be good @twmb and @mmaslankaprv |
Beta Was this translation helpful? Give feedback.
-
+1 on facilitating gitops. @twmb any thoughts on where this fits within the rpk hierarchy? Maybe loading a config under |
Beta Was this translation helpful? Give feedback.
-
Just to add some more context, other kafka implementations like Strimzi, Red Hat AMQ, and IBM Event Streams allow defining topic details via code through a kubernetes custom resource: https://github.com/strimzi/strimzi-kafka-operator/blob/f2ce3ea17c28846ad61640df55f46231a4cea17f/api/src/test/resources/io/strimzi/api/kafka/model/KafkaTopic.yaml And quarkus takes a different approach allowing topic details to be defined in your app's
|
Beta Was this translation helpful? Give feedback.
-
FWIW this is #1709 |
Beta Was this translation helpful? Give feedback.
-
There is also a Terraform provider to configure the topics: https://github.com/Mongey/terraform-provider-kafka |
Beta Was this translation helpful? Give feedback.
-
I want to define my topics and associated details (how many partitions, etc.) in a config file that can be checked in to git and applied automatically after deployment.
It occured to me that maybe redpanda could provide this capability. One way this could be done is by adding new variables to the redpanda cluster operator config file found here:
https://raw.githubusercontent.com/vectorizedio/redpanda/dev/src/go/k8s/config/samples/one_node_cluster.yaml
The variables could be similar to the state config file from kafka-gitops:
More details on their state.yaml here: https://devshawn.github.io/kafka-gitops/#/confluent-cloud?id=desired-state-file
I'm just interested in topics for now, but kafka-gitops has other capabilities that may or may not make sense to be a variable that can be sent to the redpanda operator.
Related slack discussion: https://vectorizedcommunity.slack.com/archives/C01AJDUT88N/p1638209789373700?thread_ts=1638209789.373700&cid=C01AJDUT88N
Beta Was this translation helpful? Give feedback.
All reactions