Ambiguity in the number of partition in server.properties and in topic creation --partition parameter in apache kafka
<p>In kafka I have created the topic with the ./kafka-topics.sh command. the command would be like</p>

<pre><code>./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 8 --topic test
</code></pre>

<p>With 8 partitions for the topic test, there is <code>server.properties</code> configuration in the kafka broker, which also has <code>num.partitions</code>parameter which is default is 1.</p>

<p>Now my specific question is it will not create ambiguity in the partition for the topic test. It will consider partition that were mentioned at the time of topic creation or <code>num.partition</code> in the <code>server.properties</code> </p>