KafkaTopic
kafka.strimzi.io / v1
apiVersion: kafka.strimzi.io/v1
kind: KafkaTopic
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object required
The specification of the topic.
config
object
The topic configuration.
partitions
integer
The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`.
minimum:
1
replicas
integer
The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`.
minimum:
1maximum:
32767
topicName
string
The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name.
status object
The status of the topic.
conditions []object
List of status conditions.
lastTransitionTime
string
Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.
message
string
Human-readable message indicating details about the condition's last transition.
reason
string
The reason for the condition's last transition (a single word in CamelCase).
status
string
The status of the condition, either True, False or Unknown.
type
string
The unique identifier of a condition, used to distinguish between other conditions in the resource.
observedGeneration
integer
The generation of the CRD that was last reconciled by the operator.
replicasChange object
Replication factor change status.
message
string
Message for the user related to the replicas change request. This may contain transient error messages that would disappear on periodic reconciliations.
sessionId
string
The session identifier for replicas change requests pertaining to this KafkaTopic resource. This is used by the Topic Operator to track the status of `ongoing` replicas change operations.
state
string
Current state of the replicas change operation. This can be `pending`, when the change has been requested, or `ongoing`, when the change has been successfully submitted to Cruise Control.
enum:
pending, ongoing
targetReplicas
integer
The target replicas value requested by the user. This may be different from .spec.replicas when a change is ongoing.
topicId
string
The topic's id. For a KafkaTopic with the ready condition, this will change only if the topic gets deleted and recreated with the same name.
topicName
string
Topic name.
No matches. Try .spec.config for an exact path