From b5cf14cdffc5ca25261e5d5d5db080afb08a8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Thu, 23 Apr 2020 14:32:44 +0200
Subject: [PATCH] Set commit interval to 100ms for all ucs

---
 execution/uc1-application/aggregation-deployment.yaml | 2 ++
 execution/uc3-application/aggregation-deployment.yaml | 6 ++++--
 execution/uc4-application/aggregation-deployment.yaml | 8 ++++++--
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/execution/uc1-application/aggregation-deployment.yaml b/execution/uc1-application/aggregation-deployment.yaml
index 89eafb473..cfbc3bcdd 100644
--- a/execution/uc1-application/aggregation-deployment.yaml
+++ b/execution/uc1-application/aggregation-deployment.yaml
@@ -22,6 +22,8 @@ spec:
         env:
         - name: KAFKA_BOOTSTRAP_SERVERS
           value: "my-confluent-cp-kafka:9092"
+        - 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"
       - name: prometheus-jmx-exporter
diff --git a/execution/uc3-application/aggregation-deployment.yaml b/execution/uc3-application/aggregation-deployment.yaml
index da272bb67..cce675eb5 100644
--- a/execution/uc3-application/aggregation-deployment.yaml
+++ b/execution/uc3-application/aggregation-deployment.yaml
@@ -14,8 +14,8 @@ spec:
     spec:
       terminationGracePeriodSeconds: 0
       containers:
-      - name: uc2-application
-        image: "benediktwetzel/uc3-app:latest"
+      - name: uc3-application
+        image: "soerenhenning/uc3-app:latest"
         ports:
         - containerPort: 5555
           name: jmx
@@ -24,6 +24,8 @@ spec:
           value: "my-confluent-cp-kafka:9092"
         - name: KAFKA_WINDOW_DURATION_MINUTES
           value: "1"
+        - 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"
       - name: prometheus-jmx-exporter
diff --git a/execution/uc4-application/aggregation-deployment.yaml b/execution/uc4-application/aggregation-deployment.yaml
index 8fd0ea3af..a0d606b0e 100644
--- a/execution/uc4-application/aggregation-deployment.yaml
+++ b/execution/uc4-application/aggregation-deployment.yaml
@@ -22,8 +22,12 @@ spec:
         env:
         - name: KAFKA_BOOTSTRAP_SERVERS
           value: "my-confluent-cp-kafka:9092"
-        - name: SCHEMA_REGISTRY_URL
-          value: "http://my-confluent-cp-schema-registry:8081"
+        - name: AGGREGATION_DURATION_DAYS
+          value: "7" #AGGREGATION_DURATION_DAYS
+        - name: AGGREGATION_DURATION_ADVANCE
+          value: "1"
+        - 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"
       - name: prometheus-jmx-exporter
-- 
GitLab