Kafka.Client.
get_compatible_kafka_versions
(**kwargs)¶Gets the Apache Kafka versions to which you can update the MSK cluster.
See also: AWS API Documentation
Request Syntax
response = client.get_compatible_kafka_versions(
ClusterArn='string'
)
{
'CompatibleKafkaVersions': [
{
'SourceVersion': 'string',
'TargetVersions': [
'string',
]
},
]
}
Response Structure
Successful response.
A list of CompatibleKafkaVersion objects.
Contains source Apache Kafka versions and compatible target Apache Kafka versions.
An Apache Kafka version.
A list of Apache Kafka versions.
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