V1 Replicators replicatorArn
URI
/replication/v1/replicators/replicatorArn
HTTP methods
GET
Operation ID: DescribeReplicator
Describes a replicator.
| Name | Type | Required | Description |
|---|---|---|---|
replicatorArn | String | True | The Amazon Resource Name (ARN) of the replicator to be described. |
| Status code | Response model | Description |
|---|---|---|
200 |
DescribeReplicatorResponse | HTTP Status Code 200: OK. |
400 | None | HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it. |
401 | None | HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. |
403 | None | HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request. |
404 | None | HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it. |
429 | None | HTTP Status Code 429: Limit exceeded. Resource limit reached. |
500 | None | HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue. |
503 | None | HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue. |
DELETE
Operation ID: DeleteReplicator
Deletes a replicator.
| Name | Type | Required | Description |
|---|---|---|---|
replicatorArn | String | True | The Amazon Resource Name (ARN) of the replicator to be described. |
| Name | Type | Required | Description |
|---|---|---|---|
currentVersion | String | False | The current version of the replicator. |
| Status code | Response model | Description |
|---|---|---|
200 |
DeleteReplicatorResponse | HTTP Status Code 200: OK. |
400 | None | HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it. |
401 | None | HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated. |
403 | None | HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request. |
404 | None | HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it. |
429 | None | HTTP Status Code 429: Limit exceeded. Resource limit reached. |
500 | None | HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue. |
503 | None | HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue. |
OPTIONS
Enable CORS by returning correct headers
| Name | Type | Required | Description |
|---|---|---|---|
replicatorArn | String | True | The Amazon Resource Name (ARN) of the replicator to be described. |
| Status code | Response model | Description |
|---|---|---|
200 | None | Default response for CORS method |
Schemas
Response bodies
{ "replicatorArn": "string", "creationTime": "string", "kafkaClusters": [ { "kafkaClusterAlias": "string", "amazonMskCluster": { "mskClusterArn": "string" }, "vpcConfig": { "securityGroupIds": [ "string" ], "subnetIds": [ "string" ] }, "encryptionInTransit": { "encryptionType": enum, "rootCaCertificate": "string" }, "apacheKafkaCluster": { "bootstrapBrokerString": "string", "apacheKafkaClusterId": "string" }, "clientAuthentication": { "saslScram": { "secretArn": "string", "mechanism": enum } } } ], "currentVersion": "string", "tags": { }, "replicatorDescription": "string", "replicatorName": "string", "logDelivery": { "replicatorLogDelivery": { "s3": { "bucket": "string", "prefix": "string", "enabled": boolean }, "firehose": { "deliveryStream": "string", "enabled": boolean }, "cloudWatchLogs": { "logGroup": "string", "enabled": boolean } } }, "serviceExecutionRoleArn": "string", "replicationInfoList": [ { "consumerGroupReplication": { "consumerGroupsToExclude": [ "string" ], "consumerGroupOffsetSyncMode": enum, "detectAndCopyNewConsumerGroups": boolean, "consumerGroupsToReplicate": [ "string" ], "synchroniseConsumerGroupOffsets": boolean }, "targetCompressionType": enum, "sourceKafkaClusterAlias": "string", "topicReplication": { "copyAccessControlListsForTopics": boolean, "detectAndCopyNewTopics": boolean, "topicNameConfiguration": { "type": enum }, "copyTopicConfigurations": boolean, "startingPosition": { "type": enum }, "topicsToReplicate": [ "string" ], "topicsToExclude": [ "string" ] }, "targetKafkaClusterAlias": "string" } ], "stateInfo": { "code": "string", "message": "string" }, "replicatorState": enum, "isReplicatorReference": boolean, "replicatorResourceArn": "string" }
{ "replicatorArn": "string", "replicatorState": enum }
Properties
AmazonMskCluster
Details of an Amazon MSK Cluster.
| Property | Type | Required | Description |
|---|---|---|---|
mskClusterArn | string | True | The Amazon Resource Name (ARN) of an Amazon MSK cluster. |
ApacheKafkaCluster
Details of an Apache Kafka cluster.
| Property | Type | Required | Description |
|---|---|---|---|
apacheKafkaClusterId | string | True | The globally unique cluster ID of the Apache Kafka cluster. For information on how to retrieve the cluster ID, see https://github.com/apache/kafka/blob/trunk/bin/kafka-cluster.sh |
bootstrapBrokerString | string | True | The bootstrap broker string of the Apache Kafka cluster. |
CloudWatchLogs
CloudWatch Logs details for ReplicatorLogDelivery.
| Property | Type | Required | Description |
|---|---|---|---|
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. |
ConsumerGroupOffsetSyncMode
The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.
LEGACYENHANCED
ConsumerGroupReplication
Details about consumer group replication.
| Property | Type | Required | Description |
|---|---|---|---|
consumerGroupOffsetSyncMode | False | The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster. | |
consumerGroupsToExclude | Array of type string MaxLength: 256 | False | 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 | False | Enables synchronization of consumer groups to target cluster. |
synchroniseConsumerGroupOffsets | boolean | False | Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets. |
DeleteReplicatorResponse
Returns information about the deleted replicator.
| Property | Type | Required | Description |
|---|---|---|---|
replicatorArn | string | False | The Amazon Resource Name (ARN) of the replicator. |
replicatorState | False | State of the replicator. |
DescribeReplicatorResponse
Response body for DescribeReplicator.
| Property | Type | Required | Description |
|---|---|---|---|
creationTime | string | False | The time when the replicator was created. |
currentVersion | string | False | The current version number of the replicator. |
isReplicatorReference | boolean | False | Whether this resource is a replicator reference. |
kafkaClusters | Array of type KafkaClusterDescription | False | Kafka Clusters used in setting up sources / targets for replication. |
logDelivery | False | Configuration for log delivery. | |
replicationInfoList | Array of type ReplicationInfoDescription | False | A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. |
replicatorArn | string | False | The Amazon Resource Name (ARN) of the replicator. |
replicatorDescription | string | False | The description of the replicator. |
replicatorName | string | False | The name of the replicator. |
replicatorResourceArn | string | False | The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created. |
replicatorState | False | State of the replicator. | |
serviceExecutionRoleArn | string | False | The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters) |
stateInfo | False | Details about the state of the replicator. | |
tags | object | False | List of tags attached to the Replicator. |
Firehose
Firehose details for ReplicatorLogDelivery.
| Property | Type | Required | Description |
|---|---|---|---|
deliveryStream | string | False | The Firehose delivery stream that is the destination for log delivery. |
enabled | boolean | True | Whether log delivery to Firehose is enabled. |
KafkaClusterClientAuthentication
Details of the client authentication used by the Apache Kafka cluster.
| Property | Type | Required | Description |
|---|---|---|---|
saslScram | True | Details for SASL/SCRAM client authentication. |
KafkaClusterClientVpcConfig
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
| Property | Type | Required | Description |
|---|---|---|---|
securityGroupIds | Array of type string | False | The security groups to attach to the ENIs for the broker nodes. |
subnetIds | Array of type string | True | The list of subnets in the client VPC to connect to. |
KafkaClusterDescription
Information about Kafka Cluster used as source / target for replication.
| Property | Type | Required | Description |
|---|---|---|---|
amazonMskCluster | False | Details of an Amazon MSK Cluster. | |
apacheKafkaCluster | False | Details of an Apache Kafka Cluster. | |
clientAuthentication | False | Details of the client authentication used by the Apache Kafka cluster. | |
encryptionInTransit | False | Details of encryption in transit to the Apache Kafka cluster. | |
kafkaClusterAlias | string | False | The alias of the Kafka cluster. Used to prefix names of replicated topics. |
vpcConfig | False | Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster. |
KafkaClusterEncryptionInTransit
Details of encryption in transit to the Apache Kafka cluster.
| Property | Type | Required | Description |
|---|---|---|---|
encryptionType | True | The type of encryption in transit to the Apache Kafka cluster. | |
rootCaCertificate | string | False | Amazon Resource Name (ARN) of the Secrets Manager secret containing the root CA certificate for TLS encryption. |
KafkaClusterEncryptionInTransitType
The type of encryption in transit to the Apache Kafka cluster.
TLS
KafkaClusterSaslScramAuthentication
Details for SASL/SCRAM client authentication.
| Property | Type | Required | Description |
|---|---|---|---|
mechanism | True | The SCRAM mechanism to use for authentication. | |
secretArn | string | True | Amazon Resource Name (ARN) of the Secrets Manager secret containing the username and password. |
KafkaClusterSaslScramMechanism
The SCRAM mechanism to use for authentication.
SHA256SHA512
LogDelivery
Configuration for log delivery to customer destinations.
| Property | Type | Required | Description |
|---|---|---|---|
replicatorLogDelivery | False | Configuration for replicator log delivery. |
ReplicationInfoDescription
Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)
| Property | Type | Required | Description |
|---|---|---|---|
consumerGroupReplication | False | Configuration relating to consumer group replication. | |
sourceKafkaClusterAlias | string | False | The alias of the source Kafka cluster. |
targetCompressionType | False | The compression type to use when producing records to target cluster. | |
targetKafkaClusterAlias | string | False | The alias of the target Kafka cluster. |
topicReplication | False | Configuration relating to topic replication. |
ReplicationStartingPosition
Specifies the position in the topics to start replicating from.
| Property | Type | Required | Description |
|---|---|---|---|
type | False | The type of replication starting position. |
ReplicationStartingPositionType
The type of replication starting position.
LATESTEARLIEST
ReplicationStateInfo
Details about the state of a replicator.
| Property | Type | Required | Description |
|---|---|---|---|
code | string | False | Code that describes the state of the replicator. |
message | string | False | Message that describes the state of the replicator. |
ReplicationTopicNameConfiguration
Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.
| Property | Type | Required | Description |
|---|---|---|---|
type | False | The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias. |
ReplicationTopicNameConfigurationType
The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias.
IDENTICALPREFIXED_WITH_SOURCE_CLUSTER_ALIAS
ReplicatorLogDelivery
Configuration for replicator log delivery.
| Property | Type | Required | Description |
|---|---|---|---|
cloudWatchLogs | False | Configuration for CloudWatch Logs delivery. | |
firehose | False | Configuration for Firehose delivery. | |
s3 | False | Configuration for S3 delivery. |
ReplicatorState
State of a replicator.
RUNNINGCREATINGUPDATINGDELETINGFAILED
S3
S3 details for ReplicatorLogDelivery.
| Property | Type | Required | Description |
|---|---|---|---|
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. |
TargetCompressionType
The type of compression to use producing records to the target cluster.
NONEGZIPSNAPPYLZ4ZSTD
TopicReplication
Details about topic replication.
| Property | Type | Required | Description |
|---|---|---|---|
copyAccessControlListsForTopics | boolean | False | Whether to periodically configure remote topic ACLs to match their corresponding upstream topics. |
copyTopicConfigurations | boolean | False | Whether to periodically configure remote topics to match their corresponding upstream topics. |
detectAndCopyNewTopics | boolean | False | Whether to periodically check for new topics and partitions. |
startingPosition | False | Specifies the position in the topics to start replicating from. | |
topicNameConfiguration | False | Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias. | |
topicsToExclude | Array of type string MaxLength: 249 | False | 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. |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: