Skip to content
Snippets Groups Projects
Commit ec1883d6 authored by Sören Henning's avatar Sören Henning
Browse files

Align Docker-Compose files

parent e03a14ad
No related branches found
No related tags found
1 merge request!208Add benchmark implementations for Hazelcast Jet
Pipeline #5861 failed
...@@ -3,21 +3,22 @@ services: ...@@ -3,21 +3,22 @@ services:
zookeeper: zookeeper:
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
expose: expose:
- "9092" - "2181"
environment: environment:
ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_CLIENT_PORT: 2181
kafka: kafka:
image: wurstmeister/kafka image: wurstmeister/kafka
expose: expose:
- "9092" - "9092"
ports: #ports:
- 19092:19092 # - 19092:19092
environment: environment:
KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092 KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1" KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1"
schema-registry: schema-registry:
image: confluentinc/cp-schema-registry:5.3.1 image: confluentinc/cp-schema-registry:5.3.1
...@@ -26,8 +27,8 @@ services: ...@@ -26,8 +27,8 @@ services:
- kafka - kafka
expose: expose:
- "8081" - "8081"
ports: #ports:
- 8081:8081 # - 8081:8081
environment: environment:
SCHEMA_REGISTRY_HOST_NAME: schema-registry SCHEMA_REGISTRY_HOST_NAME: schema-registry
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181' SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
...@@ -36,26 +37,10 @@ services: ...@@ -36,26 +37,10 @@ services:
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
environment: expose:
BOOTSTRAP_SERVER: benchmark:5701 - 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 #ports:
SCHEMA_REGISTRY_URL: http://schema-registry:8081 # - 5701:5701
ports:
- 5701:5701
benchmark2:
image: uc1-hazelcastjet
depends_on:
- schema-registry
- kafka
environment:
BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081
benchmark3:
image: uc1-hazelcastjet
depends_on:
- schema-registry
- kafka
environment: environment:
BOOTSTRAP_SERVER: benchmark:5701 BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
...@@ -66,7 +51,7 @@ services: ...@@ -66,7 +51,7 @@ services:
- schema-registry - schema-registry
- kafka - kafka
environment: environment:
BOOTSTRAP_SERVER: uc-wg:5701 BOOTSTRAP_SERVER: load-generator
PORT: 5701 PORT: 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
......
...@@ -2,32 +2,33 @@ version: '2' ...@@ -2,32 +2,33 @@ version: '2'
services: services:
zookeeper: zookeeper:
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
ports: expose:
- "2181:2181" - "2181"
environment: environment:
ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_CLIENT_PORT: 2181
kafka: kafka:
image: wurstmeister/kafka image: wurstmeister/kafka
expose: expose:
- "9092" - "9092"
ports: #ports:
- 19092:19092 # - 19092:19092
environment: environment:
KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092 KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1" KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1"
schema-registry: schema-registry:
image: confluentinc/cp-schema-registry:5.3.1 image: confluentinc/cp-schema-registry:5.3.1
depends_on: depends_on:
- zookeeper - zookeeper
- kafka - kafka
ports:
- "8081:8081"
expose: expose:
- "8081" - "8081"
#ports:
# - 8081:8081
environment: environment:
SCHEMA_REGISTRY_HOST_NAME: schema-registry SCHEMA_REGISTRY_HOST_NAME: schema-registry
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181' SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
...@@ -36,18 +37,10 @@ services: ...@@ -36,18 +37,10 @@ services:
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
environment: expose:
BOOTSTRAP_SERVER: benchmark:5701 - 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 #ports:
SCHEMA_REGISTRY_URL: http://schema-registry:8081 # - 5701:5701
DOWNSAMPLE_INTERVAL: 5000
ports:
- 5701:5701
benchmark2:
image: uc2-hazelcastjet
depends_on:
- schema-registry
- kafka
environment: environment:
BOOTSTRAP_SERVER: benchmark:5701 BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
...@@ -59,7 +52,7 @@ services: ...@@ -59,7 +52,7 @@ services:
- schema-registry - schema-registry
- kafka - kafka
environment: environment:
BOOTSTRAP_SERVER: uc-wg:5701 BOOTSTRAP_SERVER: load-generator:5701
PORT: 5701 PORT: 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
......
...@@ -2,32 +2,33 @@ version: '2' ...@@ -2,32 +2,33 @@ version: '2'
services: services:
zookeeper: zookeeper:
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
ports: expose:
- "2181:2181" - "2181"
environment: environment:
ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_CLIENT_PORT: 2181
kafka: kafka:
image: wurstmeister/kafka image: wurstmeister/kafka
expose: expose:
- "9092" - "9092"
ports: #ports:
- 19092:19092 # - 19092:19092
environment: environment:
KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092 KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1" KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1"
schema-registry: schema-registry:
image: confluentinc/cp-schema-registry:5.3.1 image: confluentinc/cp-schema-registry:5.3.1
depends_on: depends_on:
- zookeeper - zookeeper
- kafka - kafka
ports:
- "8081:8081"
expose: expose:
- "8081" - "8081"
#ports:
# - 8081:8081
environment: environment:
SCHEMA_REGISTRY_HOST_NAME: schema-registry SCHEMA_REGISTRY_HOST_NAME: schema-registry
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181' SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
...@@ -36,32 +37,23 @@ services: ...@@ -36,32 +37,23 @@ services:
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
expose:
- 5701
#ports:
# - 5701:5701
environment: environment:
BOOTSTRAP_SERVER: benchmark:5701 BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
WINDOW_SIZE_IN_SECONDS: 50 WINDOW_SIZE_IN_SECONDS: 50
HOPPING_SIZE_IN_SECONDS: 5 HOPPING_SIZE_IN_SECONDS: 5
ports: load-generator:
- 5701:5701 image: ghcr.io/cau-se/theodolite-uc3-workload-generator:latest
benchmark2:
image: uc3-hazelcastjet
depends_on:
- schema-registry
- kafka
environment:
BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081
WINDOW_SIZE_IN_SECONDS: 50
HOPPING_SIZE_IN_SECONDS: 5
load-generator:
image: ghcr.io/cau-se/theodolite-uc2-workload-generator:latest
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
environment: environment:
BOOTSTRAP_SERVER: uc-wg:5701 BOOTSTRAP_SERVER: load-generator:5701
PORT: 5701 PORT: 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
......
...@@ -2,32 +2,33 @@ version: '2' ...@@ -2,32 +2,33 @@ version: '2'
services: services:
zookeeper: zookeeper:
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
ports: expose:
- "2181:2181" - "2181"
environment: environment:
ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_CLIENT_PORT: 2181
kafka: kafka:
image: wurstmeister/kafka image: wurstmeister/kafka
expose: expose:
- "9092" - "9092"
ports: #ports:
- 19092:19092 # - 19092:19092
environment: environment:
KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092 KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 30000
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1" KAFKA_CREATE_TOPICS: "input:3:1,output:3:1,configuration:3:1,aggregation-feedback:3:1"
schema-registry: schema-registry:
image: confluentinc/cp-schema-registry:5.3.1 image: confluentinc/cp-schema-registry:5.3.1
depends_on: depends_on:
- zookeeper - zookeeper
- kafka - kafka
ports:
- "8081:8081"
expose: expose:
- "8081" - "8081"
#ports:
# - 8081:8081
environment: environment:
SCHEMA_REGISTRY_HOST_NAME: schema-registry SCHEMA_REGISTRY_HOST_NAME: schema-registry
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181' SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
...@@ -36,20 +37,22 @@ services: ...@@ -36,20 +37,22 @@ services:
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
expose:
- 5701
#ports:
# - 5701:5701
environment: environment:
BOOTSTRAP_SERVER: benchmark:5701 BOOTSTRAP_SERVER: benchmark:5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
WINDOW_SIZE_UC4: 5000 WINDOW_SIZE_UC4: 5000
ports:
- 5701:5701
load-generator: load-generator:
image: ghcr.io/cau-se/theodolite-uc2-workload-generator:latest image: ghcr.io/cau-se/theodolite-uc4-workload-generator:latest
depends_on: depends_on:
- schema-registry - schema-registry
- kafka - kafka
environment: environment:
BOOTSTRAP_SERVER: uc-wg:5701 BOOTSTRAP_SERVER: load-generator:5701
PORT: 5701 PORT: 5701
KAFKA_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_BOOTSTRAP_SERVERS: kafka:9092
SCHEMA_REGISTRY_URL: http://schema-registry:8081 SCHEMA_REGISTRY_URL: http://schema-registry:8081
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment