Create Topic
| kafka_create_topic | R Documentation |
Creates a topic in the specified MSK cluster¶
Description¶
Creates a topic in the specified MSK cluster.
Usage¶
kafka_create_topic(ClusterArn, TopicName, PartitionCount,
ReplicationFactor, Configs)
Arguments¶
ClusterArn |
[required] The Amazon Resource Name (ARN) that uniquely identifies the cluster. |
TopicName |
[required] The name of the topic to create. |
PartitionCount |
[required] The number of partitions for the topic. |
ReplicationFactor |
[required] The replication factor for the topic. |
Configs |
Topic configurations encoded as a Base64 string. |
Value¶
A list with the following syntax:
list(
TopicArn = "string",
TopicName = "string",
Status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"
)
Request syntax¶
svc$create_topic(
ClusterArn = "string",
TopicName = "string",
PartitionCount = 123,
ReplicationFactor = 123,
Configs = "string"
)