How to turn on Tiered Storage for your Kafka topic ΒΆ

This guide shows you how to enable tiered storage for your Kafka topic.

Prerequisites ΒΆ

You need to own an existing topic in nais. Check Create a Kafka topic for how to create a topic.

Your topic can not use compact cleanup policy.

Enable tiered storage by specifying local retention on a topic ΒΆ

Git diff showing how to enable tiered storage in a 'nai example_topic.yaml' file

diff

Apply the new configuration ΒΆ

Add the file to your application repository and deploy with Nais github action.

bash