diff --git a/src/v/cluster/topic_configuration.h b/src/v/cluster/topic_configuration.h index 4ce84eb864dc..37d91c000450 100644 --- a/src/v/cluster/topic_configuration.h +++ b/src/v/cluster/topic_configuration.h @@ -66,11 +66,11 @@ struct topic_configuration model::topic_namespace tp_ns; // using signed integer because Kafka protocol defines it as signed int - int32_t partition_count; + int32_t partition_count{0}; // using signed integer because Kafka protocol defines it as signed int - int16_t replication_factor; + int16_t replication_factor{0}; // bypass migration restrictions - bool is_migrated; + bool is_migrated{false}; topic_properties properties;