Suppose at the time of creation of Topic we created a topic XX with 5 Partition and later we recognized that we dont need 2 , so can we reduce the number of partition for a Topic ?
I got the answer for this question : Number of partitions for a topic can only be increased, never decreased
Reason for this as if we decrease the partition it will be data loss .
We can delete current topic and recreate new one with required partition to achieve this .
View solution in original post