Skip to content
Snippets Groups Projects
Commit 6cccc5ee authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Enhanced beam-commons for uc3

parent a7bbf1c9
No related branches found
No related tags found
1 merge request!187Migrate Beam benchmark implementation
Showing
with 4 additions and 1 deletion
......@@ -46,6 +46,8 @@ public final class ConfigurationKeys {
public static final String TRIGGER_INTERVAL = "trigger.interval";
private ConfigurationKeys() {
}
......
package application;
package theodolite.commons.beam.kafka;
import java.util.Optional;
......
......@@ -76,6 +76,7 @@ public final class Uc3ApplicationBeam {
System.getenv(AGGREGATION_ADVANCE_DAYS) == null
? "1" : System.getenv(AGGREGATION_ADVANCE_DAYS));
final Duration advance = Duration.standardDays(aggregationAdvance);
final int triggerInterval = Integer.parseInt(
System.getenv(TRIGGER_INTERVAL) == null
? "15" : System.getenv(TRIGGER_INTERVAL));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment