Record
new-topic
A topic to create.
record new-topic {
name: string,
num-partitions: s32,
replication-factor: s32,
replica-assignment: list<list<s32>>,
config: list<config-entry>,
}Fields
| Name | Type | Description |
|---|---|---|
| name | string | |
| num-partitions | s32 | Number of partitions. Use -1 with a broker-side default. |
| replication-factor | s32 | Replication factor. Use -1 when supplying |
| replica-assignment | list<list<s32>> | Explicit replica broker ids per partition. When set,
|
| config | list<config-entry> | Topic-level config ( |