I am trying to deploy Kafka with same configuration with kubernetes but getting the below error:
Error while fetching metadata with correlation id 5581 : {toiicName=LEADER_NOT_AVAILABLE} ","traceID":"","spanID":"","trace_id":"","span_id":"","dd.trace_id":"","dd.span_id":"","pid": "org.springframework.kafka.KafkaListenerEndpointContainer#10-0-C-1","logger.thread_name":"[tainer#10-0-C-1]","loggepr.name":"org.apache.kafka.clients.NetworkClient"}
I am trying to deploy Kafka with same configuration with kubernetes but getting the below error:
Error while fetching metadata with correlation id 5581 : {toiicName=LEADER_NOT_AVAILABLE} ","traceID":"","spanID":"","trace_id":"","span_id":"","dd.trace_id":"","dd.span_id":"","pid": "org.springframework.kafka.KafkaListenerEndpointContainer#10-0-C-1","logger.thread_name":"[tainer#10-0-C-1]","loggepr.name":"org.apache.kafka.clients.NetworkClient"}
Could you please tell me what I am missing.
Please find below my deployment yaml file
kind: Deployment apiVersion: apps/v1 metadata: name: kafka-broker0 spec: replicas: 2 selector: matchLabels: app: kafka id: "0" template: metadata: labels: app: kafka id: "0" spec: containers:
name: KAFKA_CREATE_TOPICS value: "topic:1:1"
apiVersion: v1 kind: Service metadata: name: kafka-service labels: name: kafka spec: ports: