View a markdown version of this page

V1 Replicators replicatorArn Replication-info - Amazon Managed Streaming for Apache Kafka

V1 Replicators replicatorArn Replication-info

URI

/replication/v1/replicators/replicatorArn/replication-info

HTTP methods

PUT

Operation ID: UpdateReplicationInfo

Updates replication info of a replicator.

Note: logDelivery cannot be updated in the same request as topicReplication or consumerGroupReplication. Update either logDelivery or topicReplication and consumerGroupReplication in separate requests.

Path parameters
NameTypeRequiredDescription
replicatorArnStringTrue

The Amazon Resource Name (ARN) of the replicator to be described.

Responses
Status codeResponse modelDescription
200 UpdateReplicationInfoResponse

HTTP Status Code 200: OK.

400None

HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

401None

HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

403None

HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

404None

HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

429None

HTTP Status Code 429: Limit exceeded. Resource limit reached.

500None

HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

503None

HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

OPTIONS

Enable CORS by returning correct headers

Path parameters
NameTypeRequiredDescription
replicatorArnStringTrue

The Amazon Resource Name (ARN) of the replicator to be described.

Responses
Status codeResponse modelDescription
200None

Default response for CORS method

Schemas

Request bodies

{ "consumerGroupReplication": { "consumerGroupsToExclude": [ "string" ], "detectAndCopyNewConsumerGroups": boolean, "consumerGroupsToReplicate": [ "string" ], "synchroniseConsumerGroupOffsets": boolean }, "logDelivery": { "replicatorLogDelivery": { "s3": { "bucket": "string", "prefix": "string", "enabled": boolean }, "firehose": { "deliveryStream": "string", "enabled": boolean }, "cloudWatchLogs": { "logGroup": "string", "enabled": boolean } } }, "topicReplication": { "copyAccessControlListsForTopics": boolean, "detectAndCopyNewTopics": boolean, "copyTopicConfigurations": boolean, "topicsToReplicate": [ "string" ], "topicsToExclude": [ "string" ] }, "sourceKafkaClusterArn": "string", "targetKafkaClusterArn": "string", "sourceKafkaClusterId": "string", "targetKafkaClusterId": "string", "currentVersion": "string" }

Response bodies

{ "replicatorArn": "string", "replicatorState": enum }

Properties

CloudWatchLogs

CloudWatch Logs details for ReplicatorLogDelivery.

PropertyTypeRequiredDescription
enabled

boolean

True

Whether log delivery to CloudWatch Logs is enabled.

logGroup

string

False

The CloudWatch log group that is the destination for log delivery.

ConsumerGroupReplicationUpdate

Details about consumer group replication.

PropertyTypeRequiredDescription
consumerGroupsToExclude

Array of type string

MaxLength: 256

True

List of regular expression patterns indicating the consumer groups that should not be replicated.

consumerGroupsToReplicate

Array of type string

MaxLength: 256

True

List of regular expression patterns indicating the consumer groups to copy.

detectAndCopyNewConsumerGroups

boolean

True

Enables synchronization of consumer groups to target cluster.

synchroniseConsumerGroupOffsets

boolean

True

Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.

Firehose

Firehose details for ReplicatorLogDelivery.

PropertyTypeRequiredDescription
deliveryStream

string

False

The Firehose delivery stream that is the destination for log delivery.

enabled

boolean

True

Whether log delivery to Firehose is enabled.

LogDelivery

Configuration for log delivery to customer destinations.

PropertyTypeRequiredDescription
replicatorLogDelivery

ReplicatorLogDelivery

False

Configuration for replicator log delivery.

ReplicatorLogDelivery

Configuration for replicator log delivery.

PropertyTypeRequiredDescription
cloudWatchLogs

CloudWatchLogs

False

Configuration for CloudWatch Logs delivery.

firehose

Firehose

False

Configuration for Firehose delivery.

s3

S3

False

Configuration for S3 delivery.

ReplicatorState

State of a replicator.

  • RUNNING

  • CREATING

  • UPDATING

  • DELETING

  • FAILED

S3

S3 details for ReplicatorLogDelivery.

PropertyTypeRequiredDescription
bucket

string

False

The S3 bucket that is the destination for log delivery.

enabled

boolean

True

Whether log delivery to S3 is enabled.

prefix

string

False

The S3 prefix that is the destination for log delivery.

TopicReplicationUpdate

Details for updating the topic replication of a replicator.

PropertyTypeRequiredDescription
copyAccessControlListsForTopics

boolean

True

Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.

copyTopicConfigurations

boolean

True

Whether to periodically configure remote topics to match their corresponding upstream topics.

detectAndCopyNewTopics

boolean

True

Whether to periodically check for new topics and partitions.

topicsToExclude

Array of type string

MaxLength: 249

True

List of regular expression patterns indicating the topics that should not be replicated.

topicsToReplicate

Array of type string

MaxLength: 249

True

List of regular expression patterns indicating the topics to copy.

UpdateReplicationInfoRequest

Parameters for updating replication information between source and target Kafka clusters of a replicator.

PropertyTypeRequiredDescription
consumerGroupReplication

ConsumerGroupReplicationUpdate

False

Updated consumer group replication information.

currentVersion

string

True

Current replicator version.

logDelivery

LogDelivery

False

Configuration for delivering replicator logs to customer destinations.

sourceKafkaClusterArn

string

False

The ARN of the source Kafka cluster.

sourceKafkaClusterId

string

False

The cluster ID of the source Apache Kafka cluster.

targetKafkaClusterArn

string

False

The ARN of the target Kafka cluster.

targetKafkaClusterId

string

False

The cluster ID of the target Apache Kafka cluster.

topicReplication

TopicReplicationUpdate

False

Updated topic replication information.

UpdateReplicationInfoResponse

Updated Replication information of a replicator.

PropertyTypeRequiredDescription
replicatorArn

string

False

The Amazon Resource Name (ARN) of the replicator.

replicatorState

ReplicatorState

False

State of the replicator.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

UpdateReplicationInfo