diff --git a/pulsaradmin/pkg/utils/topic_auto_creation_config.go b/pulsaradmin/pkg/utils/topic_auto_creation_config.go index 6664655974..8444514250 100644 --- a/pulsaradmin/pkg/utils/topic_auto_creation_config.go +++ b/pulsaradmin/pkg/utils/topic_auto_creation_config.go @@ -20,5 +20,5 @@ package utils type TopicAutoCreationConfig struct { Allow bool `json:"allowAutoTopicCreation"` Type TopicType `json:"topicType"` - Partitions int `json:"defaultNumPartitions"` + Partitions *int `json:"defaultNumPartitions"` }