Can a Kafka producer create topics and partitions?

前端 未结 4 2532
一向
一向 2021-02-20 00:55

currently I am evaluating different Messaging Systems. There is a question related to Apache Kafka which I could not answer myself.

Is it possible for a Kafka producer t

4条回答
  •  不要未来只要你来
    2021-02-20 01:46

    For any messaging system, i don't think it is recommended way to create topic/partition or any queue dynamically by producer.

    For you use case, you can probably use device_id as your as partition key to distinguish the messages.That way you can use one topic.

提交回复
热议问题