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.BadRequestExceptionKafka.Client.exceptions.UnauthorizedExceptionKafka.Client.exceptions.InternalServerErrorExceptionKafka.Client.exceptions.ForbiddenExceptionKafka.Client.exceptions.NotFoundExceptionKafka.Client.exceptions.ServiceUnavailableExceptionKafka.Client.exceptions.TooManyRequestsException