Configuration for serverless clusters - Amazon Managed Streaming for Apache Kafka
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

7 days Yes Unlimited

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.