v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Msgs

Topic Configure

Configures the number of partitions for a topic.

Partition count can only be increased, never decreased. The default for a new topic is 1.

post/api/v1.msgs.topic.configure

Request body

namespacestring nullable
topicstring required
partitionsinteger required

Example request

{
  "namespace": "some_namespace",
  "topic": "some_topic_name"
}

Response

partitionsinteger required