Does AWS MSK support creating topics via configuration, similar what Strimzi does?
Asked
Active
Viewed 311 times
1 Answers
1
Yes, you can first use CloudFormation or Terraform to create a cluster, or just shell scripts with awscli
. Maybe also Pulumi or Crossplane (assuming you have k8s), but have not checked.
Then you can use external modules that work with any Kafka cluster to create topics. Such as this terraform provider, (however, you may need to configure certain auth settings in MSK as I don't think this provider supports IAM configs, for example). Or, if you also have EKS / k8s, you can create topics with Strimzi KafkaTopic operator to still create topics in MSK.

OneCricketeer
- 179,855
- 19
- 132
- 245
-
could you provide links for examples how to do it using CloudFormation and terraform ? – clearpath Apr 18 '23 at 09:33
-
1What difficulty are you having searching for either option? – OneCricketeer Apr 18 '23 at 12:24
-
not finding the example how to do it..? – clearpath Apr 19 '23 at 07:05
-
I've added official documentation to my answer – OneCricketeer Apr 19 '23 at 13:50