Skip to content

num_partitions should be optional for NewTopic #1160

@hrchu

Description

@hrchu

KIP-464 supports creating topics with default partitions and replication factor, but the current interface still asks for num_parititions.

It will be better to let it also be optional, for less confusing.

image

https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#confluent_kafka.admin.NewTopic.NewTopic
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=113708722

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions