Skip to content
Get started (free)

You're viewing development data from the main branch. It is not a released or planned SDP version and can change at any time.

Custom resource

KafkaTopic

A Kafka topic, created and updated by the Stackable agent of the referenced Apache Kafka cluster.

API group
kafka.stackable.tech
API versions in dev
v1alpha1
Scope
Namespaced
Operator
Apache Kafka
Roles
none

Schema

KafkaTopic.kafka.stackable.tech .spec fields for SDP dev.

Schema
  • configOverrides # object = {}
    Topic configs like retention.ms. All other topic-level configs are reset to the broker defaults, except the replication throttles set by partition reassignments. At most 64 configs with values of up to 1024 characters.
  • deletionPolicy # string · enum = "Retain"
    What happens to a resource in the product when the object managing it is deleted.
    allowed: RetainDelete
  • partitions # integer
    Number of partitions. Can only be increased. Defaults to the broker setting num.partitions when the topic is created.
  • replicationFactor # integer
    Number of replicas of each partition. Changes are not applied to existing topics. Defaults to the broker setting default.replication.factor when the topic is created.
  • topicName # string
    Name of the topic in Kafka. Defaults to metadata.name. Immutable.