ewolff / microservice-kafka

Demo to show how Apache Kafka can be used for communication between microservices
Apache License 2.0
585 stars 302 forks source link

Solution for issue #23 #24

Closed parawanderer closed 1 year ago

parawanderer commented 2 years ago

See #23 for a description of the issue. This seems like a consistent fix for that issue in my testing.

Doesn't seem like it hurts to have auto topic creation disabled for anybody who will never encounter this odd timing regardless. It appears to me that (in the use case of this sample app) having full control over how many topic partitions there are at all times, overruling any possible random default, would be the absolute desirable behaviour here.

(yet again disclaimer that this is my first time working with kafka)