Last active
July 3, 2020 16:37
-
-
Save voratham/994363489bc8f62825456f7539af868f to your computer and use it in GitHub Desktop.
AKHQ Monitor , Kafka Broker , Zookeeper For Development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.6' | |
| # volumes: | |
| # zookeeper-data: | |
| # driver: local | |
| # zookeeper-log: | |
| # driver: local | |
| # kafka-data: | |
| # driver: local | |
| services: | |
| akhq: | |
| # build: | |
| # context: . | |
| image: tchiotludo/akhq | |
| environment: | |
| AKHQ_CONFIGURATION: | | |
| akhq: | |
| connections: | |
| docker-kafka-server: | |
| properties: | |
| bootstrap.servers: "kafka:29092" | |
| ports: | |
| - 8080:8080 | |
| links: | |
| - kafka | |
| zookeeper: | |
| hostname: zookeeper | |
| container_name: zookeeper | |
| image: confluentinc/cp-zookeeper | |
| # volumes: | |
| # - zookeeper-data:/var/lib/zookeeper/data | |
| # - zookeeper-log:/var/lib/zookeeper/log | |
| environment: | |
| ZOOKEEPER_CLIENT_PORT: 2181 | |
| kafka: | |
| image: confluentinc/cp-kafka | |
| hostname: kafka | |
| container_name: kafka | |
| ports: | |
| - 9092:9092 | |
| depends_on: | |
| - zookeeper | |
| # volumes: | |
| # - kafka-data:/var/lib/kafka | |
| environment: | |
| KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 | |
| KAFKA_NUM_PARTITIONS: 12 | |
| KAFKA_COMPRESSION_TYPE: gzip | |
| KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 | |
| KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1 | |
| KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1 | |
| # KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092 | |
| KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT | |
| KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092 | |
| KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false' | |
| KAFKA_JMX_PORT: 9091 | |
| KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' | |
| links: | |
| - zookeeper | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.6' | |
| services: | |
| akhq: | |
| # build: | |
| # context: . | |
| image: tchiotludo/akhq | |
| environment: | |
| AKHQ_CONFIGURATION: | | |
| akhq: | |
| connections: | |
| docker-kafka-server: | |
| properties: | |
| bootstrap.servers: "kafka-0.kafka.datastore.staging.tel.internal:9092,kafka-1.kafka.datastore.staging.tel.internal:9092,kafka-2.kafka.datastore.staging.tel.internal:9092" | |
| ports: | |
| - 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment