As stateful applications, Kafka and Zookeeper need to store data on disk. {ProductName} supports three different types of storage for this data: ephemeral, persistent, and JBOD (Just a Bunch of Disks) storage.
Note
|
JBOD storage is only supported for Kafka, not for Zookeeper. |
When configuring a Kafka
resource, you can specify the type of storage used by the Kafka broker and its corresponding Zookeeper node. You configure the storage type using the storage
property in the following resources:
-
Kafka.spec.kafka
-
Kafka.spec.zookeeper
The storage type is configured in the type
field.
Warning
|
The storage type cannot be changed after a Kafka cluster is deployed. |
-
For more information about ephemeral storage, see ephemeral storage schema reference.
-
For more information about persistent storage, see persistent storage schema reference.
-
For more information about JBOD storage, see JBOD schema reference.
-
For more information about the schema for
Kafka
, seeKafka
schema reference.