How to create topics in apache kafka?
What is the bestway to create topics in kafka?
- How many replicas/partitions to be defined when we create topics?
In the new producer API, when i try to publish a message to a non existing topic , it first time fails and then successfully publishing.
- I would like to know, the relationships between replica, partitions and the number of cluster nodes.
- Do we need to create topic prior to publish messages?