Skip to content
Snippets Groups Projects
Select Git revision
  • 7db18708efa9ea1ff9b2f1d1386bc13db58f416b
  • main default protected
  • v0.10
  • rework-examples
  • otel-demo-dynatrace-example
  • support-empty-query-response
  • java-operator-sdk
  • rework-state-handling
  • quarkus-36
  • bump-kotlinlogging-to-5.0.2
  • use-internal-registry protected
  • v0.9 protected
  • kafka-nodeport-config-windows
  • v0.8 protected
  • test-k3d protected
  • simpleuc4 protected
  • reduce-code-duplication
  • test-coverage
  • code-cleanup
  • cleanup-commit-interval protected
  • delete-action-for-other-namespace
  • v0.10.0 protected
  • v0.9.0 protected
  • v0.8.6 protected
  • v0.8.5 protected
  • v0.8.4 protected
  • v0.8.3 protected
  • v0.8.2 protected
  • v0.8.1 protected
  • v0.8.0 protected
  • v0.7.0 protected
  • v0.5.2 protected
  • v0.6.4 protected
  • v0.6.3 protected
  • v0.6.2 protected
  • v0.6.1 protected
  • v0.6.0 protected
  • v0.5.1 protected
  • v0.5.0 protected
  • v0.4.0 protected
  • v0.3.0 protected
41 results

docker-compose.yml

Blame
  • docker-compose.yml 2.15 KiB
    version: '2'
    services:
      zookeeper:
        image: confluentinc/cp-zookeeper
        expose:
          - "2181"
        environment:
          ZOOKEEPER_CLIENT_PORT: 2181
      kafka:
        image: wurstmeister/kafka
        expose:
          - "9092"
        #ports:
        #  - 19092:19092
        environment:
          KAFKA_LISTENERS: PLAINTEXT://:9092,CONNECTIONS_FROM_HOST://:19092
          KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
          KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
          KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
          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"
      schema-registry:
        image: confluentinc/cp-schema-registry:5.3.1
        depends_on:
          - zookeeper
          - kafka
        expose:
          - "8081"
        #ports:
        #  - 8081:8081
        environment:
          SCHEMA_REGISTRY_HOST_NAME: schema-registry
          SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
      load-generator: 
        image: ghcr.io/cau-se/theodolite-uc4-workload-generator:latest
        depends_on:
          - schema-registry
          - kafka
        environment:
          BOOTSTRAP_SERVER: load-generator:5701
          PORT: 5701
          KAFKA_BOOTSTRAP_SERVERS: kafka:9092
          SCHEMA_REGISTRY_URL: http://schema-registry:8081
          NUM_SENSORS: 4
          NUM_NESTED_GROUPS: 4
      benchmark-jobmanager:
        image: ghcr.io/cau-se/theodolite-uc4-flink:latest
        #ports:
        #  - "8080:8081"
        command: standalone-job --job-classname theodolite.uc4.application.AggregationServiceFlinkJob
        environment:
          - KAFKA_BOOTSTRAP_SERVERS=kafka:9092
          - SCHEMA_REGISTRY_URL=http://schema-registry:8081
          - |
            FLINK_PROPERTIES=
            jobmanager.rpc.address: benchmark-jobmanager
            parallelism.default: 1
        depends_on:
          - schema-registry
          - kafka
      benchmark-taskmanager:
        image: ghcr.io/cau-se/theodolite-uc4-flink:latest
        command: taskmanager
        environment:
          - |
            FLINK_PROPERTIES=
            jobmanager.rpc.address: benchmark-jobmanager
        depends_on:
          - schema-registry