Hello,

I wanted to understand the relationship between the number of partitions in
default specification (server.properties) and topic specification. If I do
the following:


kafka-topics --create --zookeeper localhost:2181 --replication-factor 3
--partitions 3 --topic myTopic

It will actually *overwrite* the default partition number (num.partitions)
provided in the respective server.properties file (if server.properties
file have a smaller value). Otherwise, it will throw some kind of error
since the minimum number of partitions (num.partitions) is greater than the
topic specification (--partitions).

Is that correct?

Kindest Regards,

Reply via email to