diff --git a/execution/run_uc.py b/execution/run_uc.py index 7a2c2c69542e8cd26374a9776bd6aab984108130..f25d2555e9c5de0d83f3ec5a7056cad0d3ea3b8c 100644 --- a/execution/run_uc.py +++ b/execution/run_uc.py @@ -230,7 +230,7 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml): app_container['image'] = 'theodolite/theodolite-uc' + args.uc_id \ + '-kstreams-app:latest' # TODO: acces over name of attribute - app_container['env'][1]['value'] = str(args.commit_interval_ms) + app_container['env'][0]['value'] = str(args.commit_interval_ms) app_container['resources']['limits']['memory'] = args.memory_limit app_container['resources']['limits']['cpu'] = args.cpu_limit try: diff --git a/execution/uc-application/base/aggregation-deployment.yaml b/execution/uc-application/base/aggregation-deployment.yaml index 70f50e0b4a18d8dfd66967aec7d0154c8a6fd285..81da3eea7688f5d3b3145092d91cb8502e6ad87b 100644 --- a/execution/uc-application/base/aggregation-deployment.yaml +++ b/execution/uc-application/base/aggregation-deployment.yaml @@ -20,12 +20,12 @@ spec: - containerPort: 5555 name: jmx env: + - name: COMMIT_INTERVAL_MS + value: "100" - name: KAFKA_BOOTSTRAP_SERVERS value: "my-confluent-cp-kafka:9092" - name: SCHEMA_REGISTRY_URL value: "http://my-confluent-cp-schema-registry:8081" - - name: COMMIT_INTERVAL_MS - value: "100" - name: JAVA_OPTS value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555" resources: