Kafka / Client / describe_replicator
describe_replicator#
- Kafka.Client.describe_replicator(**kwargs)#
- Describes a replicator. - See also: AWS API Documentation - Request Syntax- response = client.describe_replicator( ReplicatorArn='string' ) - Parameters:
- ReplicatorArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the replicator to be described. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'CreationTime': datetime(2015, 1, 1), 'CurrentVersion': 'string', 'IsReplicatorReference': True|False, 'KafkaClusters': [ { 'AmazonMskCluster': { 'MskClusterArn': 'string' }, 'KafkaClusterAlias': 'string', 'VpcConfig': { 'SecurityGroupIds': [ 'string', ], 'SubnetIds': [ 'string', ] } }, ], 'ReplicationInfoList': [ { 'ConsumerGroupReplication': { 'ConsumerGroupsToExclude': [ 'string', ], 'ConsumerGroupsToReplicate': [ 'string', ], 'DetectAndCopyNewConsumerGroups': True|False, 'SynchroniseConsumerGroupOffsets': True|False }, 'SourceKafkaClusterAlias': 'string', 'TargetCompressionType': 'NONE'|'GZIP'|'SNAPPY'|'LZ4'|'ZSTD', 'TargetKafkaClusterAlias': 'string', 'TopicReplication': { 'CopyAccessControlListsForTopics': True|False, 'CopyTopicConfigurations': True|False, 'DetectAndCopyNewTopics': True|False, 'TopicsToExclude': [ 'string', ], 'TopicsToReplicate': [ 'string', ] } }, ], 'ReplicatorArn': 'string', 'ReplicatorDescription': 'string', 'ReplicatorName': 'string', 'ReplicatorResourceArn': 'string', 'ReplicatorState': 'RUNNING'|'CREATING'|'UPDATING'|'DELETING'|'FAILED', 'ServiceExecutionRoleArn': 'string', 'StateInfo': { 'Code': 'string', 'Message': 'string' }, 'Tags': { 'string': 'string' } } - Response Structure- (dict) – - HTTP Status Code 200: OK. - CreationTime (datetime) – - The time when the replicator was created. 
- CurrentVersion (string) – - The current version number of the replicator. 
- IsReplicatorReference (boolean) – - Whether this resource is a replicator reference. 
- KafkaClusters (list) – - Kafka Clusters used in setting up sources / targets for replication. - (dict) – - Information about Kafka Cluster used as source / target for replication. - AmazonMskCluster (dict) – - Details of an Amazon MSK Cluster. - MskClusterArn (string) – - The Amazon Resource Name (ARN) of an Amazon MSK cluster. 
 
- KafkaClusterAlias (string) – - The alias of the Kafka cluster. Used to prefix names of replicated topics. 
- VpcConfig (dict) – - Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster. - SecurityGroupIds (list) – - The security groups to attach to the ENIs for the broker nodes. - (string) – 
 
- SubnetIds (list) – - The list of subnets in the client VPC to connect to. - (string) – 
 
 
 
 
- ReplicationInfoList (list) – - A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. - (dict) – - Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias) - ConsumerGroupReplication (dict) – - Configuration relating to consumer group replication. - ConsumerGroupsToExclude (list) – - List of regular expression patterns indicating the consumer groups that should not be replicated. - (string) – 
 
- ConsumerGroupsToReplicate (list) – - List of regular expression patterns indicating the consumer groups to copy. - (string) – 
 
- DetectAndCopyNewConsumerGroups (boolean) – - Enables synchronization of consumer groups to target cluster. 
- SynchroniseConsumerGroupOffsets (boolean) – - Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets. 
 
- SourceKafkaClusterAlias (string) – - The alias of the source Kafka cluster. 
- TargetCompressionType (string) – - The compression type to use when producing records to target cluster. 
- TargetKafkaClusterAlias (string) – - The alias of the target Kafka cluster. 
- TopicReplication (dict) – - Configuration relating to topic replication. - CopyAccessControlListsForTopics (boolean) – - Whether to periodically configure remote topic ACLs to match their corresponding upstream topics. 
- CopyTopicConfigurations (boolean) – - Whether to periodically configure remote topics to match their corresponding upstream topics. 
- DetectAndCopyNewTopics (boolean) – - Whether to periodically check for new topics and partitions. 
- TopicsToExclude (list) – - List of regular expression patterns indicating the topics that should not be replicated. - (string) – 
 
- TopicsToReplicate (list) – - List of regular expression patterns indicating the topics to copy. - (string) – 
 
 
 
 
- ReplicatorArn (string) – - The Amazon Resource Name (ARN) of the replicator. 
- ReplicatorDescription (string) – - The description of the replicator. 
- ReplicatorName (string) – - The name of the replicator. 
- ReplicatorResourceArn (string) – - The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created. 
- ReplicatorState (string) – - State of the replicator. 
- ServiceExecutionRoleArn (string) – - 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 (dict) – - Details about the state of the replicator. - Code (string) – Code that describes the current state of the replicator. 
- Message (string) – Message that describes the state of the replicator. 
 
- Tags (dict) – - List of tags attached to the Replicator. - (string) – - (string) – 
 
 
 
 
 - Exceptions- Kafka.Client.exceptions.BadRequestException
- Kafka.Client.exceptions.UnauthorizedException
- Kafka.Client.exceptions.InternalServerErrorException
- Kafka.Client.exceptions.ForbiddenException
- Kafka.Client.exceptions.NotFoundException
- Kafka.Client.exceptions.ServiceUnavailableException
- Kafka.Client.exceptions.TooManyRequestsException