Configuration for serverless clusters - Amazon Managed Streaming for Apache Kafka

Configuration for serverless clusters

Amazon MSK sets broker configuration properties for serverless clusters. You can't change these broker configuration property settings. However, you can set the following topic configuration properties.

Configuration property Default Editable Maximum allowed value
cleanup.policy Delete Yes, but only at topic creation time

compression.type

Producer Yes

max.message.bytes

1048588 Yes 8 MiB
message.timestamp.difference.max.ms long.max Yes

message.timestamp.type

CreateTime Yes

retention.bytes

250 GiB Yes 250 GiB

retention.ms

1 day Yes 1 day

You can also use Apache Kafka commands to set or modify topic-level configuration properties for new or existing topics. For more information about topic-level configuration properties and examples of how to set them, see Topic-Level Configs in the official Apache Kafka documentation.