You are not allowed to reduce partitions for a topic because this action may cause data loss.

This is a design constraint of Message Queue for Apache Kafka.