
* move react-app to its own folder inside project * move backend to kafka-ui repo * setup react inside netty * make application ready in 2 commands * update readme * update readme * update readme * update readme * update profiles for application start inside (sdp profile) and outside docker (local profile) * broker metrics endpoint * topics endpoint start commit * topics details endpoint start commit // dependencies and versions fix * small pom updates // continue review fixes * fix review issues // save errors // save connections and update connection logic // save jmx, zookeeper, kafka statuses // error with getting one topic doesn't fail others // async metrics processing // cluster data storage refactoring * properties version extracting * properties versions * topic details * remove jmx, topic details, topic configs * create topic * final fixes, topic creation * topic creation ui fixes * add check for cases when cluster is offline
57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
zookeeper:
|
|
image: zookeeper:3.4.13
|
|
ports:
|
|
- 2181:2181
|
|
restart: always
|
|
|
|
kafka:
|
|
image: confluentinc/cp-kafka:5.3.1
|
|
ports:
|
|
- 9093:9093
|
|
environment:
|
|
KAFKA_BROKER_ID: 1
|
|
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
|
|
KAFKA_LISTENERS: INTERNAL://0.0.0.0:9092,PLAINTEXT://0.0.0.0:9093
|
|
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
|
|
KAFKA_ADVERTISED_LISTENERS: INTERNAL://kafka:9092,PLAINTEXT://localhost:9093
|
|
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
|
|
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
|
|
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
|
|
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
|
|
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
|
|
depends_on:
|
|
- zookeeper
|
|
restart: always
|
|
|
|
schema-registry:
|
|
image: confluentinc/cp-schema-registry:5.3.1
|
|
hostname: schema-registry
|
|
ports:
|
|
- "8081:8081"
|
|
environment:
|
|
SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:9092
|
|
SCHEMA_REGISTRY_HOST_NAME: schema-registry
|
|
SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8081
|
|
depends_on:
|
|
- zookeeper
|
|
- kafka
|
|
|
|
rest:
|
|
image: confluentinc/cp-kafka-rest:5.3.1
|
|
hostname: rest-proxy
|
|
ports:
|
|
- "8082:8082"
|
|
environment:
|
|
KAFKA_REST_LISTENERS: http://0.0.0.0:8082/
|
|
KAFKA_REST_SCHEMA_REGISTRY_URL: http://schema-registry:8081/
|
|
KAFKA_REST_HOST_NAME: rest-proxy
|
|
KAFKA_REST_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:9092
|
|
KAFKA_REST_ACCESS_CONTROL_ALLOW_ORIGIN: "*"
|
|
KAFKA_REST_ACCESS_CONTROL_ALLOW_METHODS: "GET,POST,PUT,DELETE,OPTIONS,HEAD"
|
|
depends_on:
|
|
- zookeeper
|
|
- kafka
|
|
- schema-registry
|