Skip to content

Update Topic

kafka_update_topic R Documentation

Updates the configuration of the specified topic

Description

Updates the configuration of the specified topic.

Usage

kafka_update_topic(ClusterArn, TopicName, Configs, PartitionCount)

Arguments

ClusterArn

[required] The Amazon Resource Name (ARN) that uniquely identifies the cluster.

TopicName

[required] The name of the topic to update configuration for.

Configs

The new topic configurations encoded as a Base64 string.

PartitionCount

The new total number of partitions for the topic.

Value

A list with the following syntax:

list(
  TopicArn = "string",
  TopicName = "string",
  Status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"
)

Request syntax

svc$update_topic(
  ClusterArn = "string",
  TopicName = "string",
  Configs = "string",
  PartitionCount = 123
)