In AMQ Streams KafkaTopic is not create if the "spec:" is missing or indented under the "metadata:" section
Issue
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
I have tested with "--dry-run=client" and "--dry-run=server" but both accept this YAML file. But when applying it, its accepted but the Kafka topic is never created because its invalid.
Environment
AMQ Streams 2.x on Openshift
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.