Reputation: 198
I'm using kafka binder in my spring boot kafka producer application deployed in aws. I create desired topics manually, then I start my application. In my application, I haven't mentioned about spring.cloud.stream.kafka.binder.autoCreateTopics
property in my application.yaml. But since I created the desired topics manually, I expect my framework don't create topics automatically. For my application, I have IAM policy created where I missed to add WriteDataIdempotently
. With this, when I try to start my application, framework tries to auto create topics even though I created it manually before running the application. Once I add WriteDataIdempotently
to my IAM policy, the application is not trying to create topics automatically. Is this expected?
Upvotes: 0
Views: 19