-
Bug
-
Resolution: Cannot Reproduce
-
Undefined
-
None
-
2.5.0.GA
-
None
-
False
-
None
-
False
-
Low
-
-
Workaround Exists
-
-
-
apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic metadata: name: my-topic-empty labels: strimzi.io/cluster: my-cluster spec: partitions: 1 replicas: 1 config: retention.ms: 7200000 segment.bytes: 1073741824
Notice the "spec:" section is within the "metadata:" section, notice the kafka topic is not being created (Ready: , Partitions, Replication Factor are all empty)
$ oc get kt NAME CLUSTER PARTITIONS REPLICATION FACTOR READY my-topic-empty my-cluster
This is no status indicate the topic is not created properly
$ oc get kt my-topic-empty -oyaml apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic metadata: creationTimestamp: "2023-10-16T02:11:04Z" generation: 1 labels: strimzi.io/cluster: my-cluster name: my-topic-empty namespace: xxxxx resourceVersion: "83321720" uid: 22e2b158-6f89-4c7d-8293-588348082a2e
—
The expectation is either
- Create the topic with "kafka cluster" default setting, that is the same behavior as "spec: {}"
- Provide better error message the "spec:" is missing.
- is related to
-
ENTMQST-5394 UTO NPE with missing partitions and/or replicas
- Closed
- relates to
-
ENTMQST-3954 Topic is not successfully created without "spec:" in KafkaTopic
- Closed