File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
project/broker/kafka/deploy/docker-compose Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,17 @@ def build_docker_compose(path: Path) -> str:
2929
3030 kafka_container = {
3131 "restart" : "always" ,
32- "image" : "wurstmeister/ kafka:latest" ,
32+ "image" : "confluentinc/cp- kafka:latest" ,
3333 "ports" : ["9092" ],
3434 "depends_on" : ["zookeeper" ],
3535 "volumes" : ["kafka:/kafka/kafka-logs" ],
3636 "environment" : {
37- "KAFKA_LOG_DIRS" : "/kafka/kafka-logs" ,
38- "KAFKA_DELETE_TOPIC_ENABLE" : "true" ,
37+ "KAFKA_BROKER_ID" : 1 ,
3938 "KAFKA_ZOOKEEPER_CONNECT" : "zookeeper:2181" ,
40- "KAFKA_ADVERTISED_HOST_NAME" : "kafka" ,
39+ "KAFKA_ADVERTISED_LISTENERS" : "PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092" ,
40+ "KAFKA_LISTENER_SECURITY_PROTOCOL_MAP" : "PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT" ,
41+ "KAFKA_INTER_BROKER_LISTENER_NAME" : "PLAINTEXT" ,
42+ "KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR" : 1 ,
4143 },
4244 }
4345
You can’t perform that action at this time.
0 commit comments