chore: stop exposing num_partitions (#3132)

This commit is contained in:
niebayes
2024-01-10 18:45:18 +08:00
committed by GitHub
parent 3ab370265a
commit 1b0e39a7f2
3 changed files with 1 additions and 5 deletions

View File

@@ -64,8 +64,6 @@ provider = "raft_engine"
# selector_type = "round_robin"
# A Kafka topic is constructed by concatenating `topic_name_prefix` and `topic_id`.
# topic_name_prefix = "greptimedb_wal_topic"
# Number of partitions per topic.
# num_partitions = 1
# Expected number of replicas of each partition.
# replication_factor = 1
# Above which a topic creation operation will be cancelled.

View File

@@ -102,9 +102,8 @@ provider = "raft_engine"
# selector_type = "round_robin"
# The prefix of topic name.
# topic_name_prefix = "greptimedb_wal_topic"
# Number of partitions per topic.
# num_partitions = 1
# The number of replicas of each partition.
# Warning: the replication factor must be positive and must not be greater than the number of broker endpoints.
# replication_factor = 1
# The max size of a single producer batch.

View File

@@ -97,7 +97,6 @@ mod tests {
num_topics = 32
selector_type = "round_robin"
topic_name_prefix = "greptimedb_wal_topic"
num_partitions = 1
replication_factor = 1
create_topic_timeout = "30s"
backoff_init = "500ms"