stream_args: &stream_args
  - "--bolt-port"
  - "7687"
  - "--log-level=DEBUG"
  - "--kafka-bootstrap-servers=localhost:9092"
  - "--query-execution-timeout-sec=0"
  - "--pulsar-service-url=pulsar://127.0.0.1:6650"

in_memory_cluster: &in_memory_cluster
  cluster:
    main:
      args: *stream_args
      log_file: "streams-e2e.log"
      setup_queries: []
      validation_queries: []

disk_cluster: &disk_cluster
  cluster:
    main:
      args: *stream_args
      log_file: "streams-e2e.log"
      setup_queries:
        - "STORAGE MODE ON_DISK_TRANSACTIONAL"
      validation_queries: []


workloads:
  - name: "Kafka streams start, stop and show"
    binary: "tests/e2e/pytest_runner.sh"
    proc: "tests/e2e/streams/transformations/"
    args: ["streams/kafka_streams_tests.py"]
    <<: *in_memory_cluster

  - name: "Streams with users"
    binary: "tests/e2e/pytest_runner.sh"
    proc: "tests/e2e/streams/transformations/"
    args: ["streams/streams_owner_tests.py"]
    <<: *in_memory_cluster

  - name: "Pulsar streams start, stop and show"
    binary: "tests/e2e/pytest_runner.sh"
    proc: "tests/e2e/streams/transformations/"
    args: ["streams/pulsar_streams_tests.py"]
    <<: *in_memory_cluster