Create a diskless topic Limited availability
You can create diskless topics after Aiven provisions your Aiven for Apache Kafka® service configured with Diskless Topics.
When you create a Kafka topic, you must choose a topic type: diskless or classic. You cannot change the type after the topic is created. Diskless topics have some feature limitations. For details, see Diskless Topics limitations.
Diskless Topics is in limited availability. Aiven provisions the service and manages the setup in your cloud account. Self-service support is coming soon. To request access, contact Aiven.
Steps to create a diskless topic
- Console
- CLI
- Log in to the Aiven Console and select your Aiven for Apache Kafka® service.
- Click Topics in the sidebar.
- Click Create topic and enter a name for the topic.
- Optional: Click Advanced settings to configure additional topic parameters.
- Set properties such as the replication factor, number of partitions, and other settings. You can update these later.
- Click Create topic.
To create a diskless topic using the Aiven CLI, include
the inkless.enable=true
configuration:
avn service topic-create \
--project demo-kafka-project \
--service-name demo-kafka-service \
--topic exampleTopic \
--partitions 2 \
--replication 2 \
--config inkless.enable=true
To create a diskless topic using the Kafka Admin API or kafka-topics.sh
,
include the same configuration:
kafka-topics.sh --create \
--bootstrap-server <broker> \
--topic <topic-name> \
--partitions <num> \
--replication-factor <num> \
--config inkless.enable=true
Related pages