Hi I have followed your instructions. But I am unable to make my connect up. Its exiting with error:
Removing server monitoring-kafka:29092 from bootstrap.servers as DNS resolution failed for monitoring-kafka.
monitoring-kafka is my kafka advertised host name. Could you suggest on it?
Hi I have followed your instructions. But I am unable to make my connect up. Its exiting with error: Removing server monitoring-kafka:29092 from bootstrap.servers as DNS resolution failed for monitoring-kafka. monitoring-kafka is my kafka advertised host name. Could you suggest on it?
version: '3.4' services: kafka-connect: image: confluentinc/cp-kafka-connect:4.4.0 hostname: connect networks:
kafka
kafka: image: confluentinc/cp-kafka:4.0.0 container_name: kafka networks:
zookeeper environment: KAFKA_ADVERTISED_HOST_NAME: monitoring-kafka KAFKA_ADVERTISED_LISTENERS: LISTENER_DOCKER_INTERNAL://monitoring-kafka:29092,LISTENER_DOCKER_EXTERNAL://IP_ADDR:9092 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_DOCKER_INTERNAL:PLAINTEXT,LISTENER_DOCKER_EXTERNAL:PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_DOCKER_INTERNAL KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 KAFKA_ZOOKEEPER_CONNECT: IP_ADDR:2181 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 16000 KAFKA_ZOOKEEPER_SYNC_TIMEOUT_MS: 20000
volumes: