Automatic topic creation is not currently supported, and based on experience with a number of enterprises using Kafka, they don't recommend it either. Typically it is something that is managed so that proper partitioning and ownership can be applied to the topic (rather than just guessing).
In fact, I'm not sure it's even possible for a Kafka consumer (using the Confluent client) to automatically create the topic. There are aspects such as the schema registry, etc. that are taken into consideration as well.
I am open to the discussion, but the choices made were based upon interviewing teams using Kafka who said they wouldn't usually allow topics to be created automatically.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…