KafkaTopic issue #4923
shreyasarani23
started this conversation in
General
Replies: 2 comments 1 reply
-
Did you disabled topic auto-creation in Kafka? If not, it was probably auto-created by your application first when it connected? |
Beta Was this translation helpful? Give feedback.
0 replies
-
yeah I had enabled auto-creation of topic as true. So I guess my kafkatopic was overwritten by the broker config. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a topic called my-topic with the following configuration
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata:
name: my-topic
spec:
partitions: 3
replicas: 3
config:
min.insync.replicas: 2
retention.ms: 7200000
segment.bytes: 1073741824
But when I do Kubectl get KafkaTopic it shows me:
Name Cluster Partitions Replication factor Ready
my-topic my-kafka-cluster 1 1 True
but why it is showing paritions and replication factor as 1?
In yaml I have specified it has 3.
Beta Was this translation helpful? Give feedback.
All reactions