Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • support-empty-query-response
  • java-operator-sdk
  • rework-state-handling
  • quarkus-36
  • bump-kotlinlogging-to-5.0.2
  • improve-patcher-documentation
  • 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
  • master protected
  • add-helm-test-debug2
  • 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
  • v0.2.0 protected
40 results

docker-test

  • Clone with SSH
  • Clone with HTTPS
  • Docker Compose Files for Testing

    This directory contains Docker Compose files, which help testing Benchmark implementations. For each stream processing engine (Kafka Streams and Flink) and Benchmark (UC1-4), a Docker Compose file is provided in the corresponding subdirectory.

    Full Dockerized Testing

    Running the load generator, the benchmark and all required infrastructure (Kafka etc.) is easy. Simply, cd into the directory of the benchmark implementation Compose file and up it. For example:

    cd uc1-kstreams-docker-compose/
    docker-compose up -d

    On less powerful hardware, starting all containers together might fail. In such cases, it usually helps to first up Kafka and ZooKeeper (docker-compose up -d kafka zookeeper), then after some delay the Schema Registry (docker-compose up -d schema-registry) and finally, after some more further delay, the rest (docker-compose up -d).

    To tear down the entire Docker Compose configuration:

    docker-compose down

    Benchmark (+ Load Generator) on Host, Infrastructure in Docker

    For development and debugging purposes, it is often required to run the benchmark and/or the load generator directly on the host, for example, from the IDE or Gradle. In such cases, the following adjustments have to be made to the docker-compose.yaml file:

    1. Comment out the services that you intend to run locally.
    2. Uncomment the ports block in the Kafka and the Schema Registry services.

    You can now connect to Kafka from your host system with bootstrap server localhost:19092 and contact the Schema Registry via localhost:8081. Pay attention to the Kafka port, which is 19092 instead of the default one 9092.