Skip to content
Snippets Groups Projects
Commit be57e2b6 authored by Sören Henning's avatar Sören Henning
Browse files

Minor refactorings

parent 43880122
No related branches found
No related tags found
1 merge request!307Align UC4 implementations among engines
Pipeline #10175 failed
......@@ -72,11 +72,11 @@ public class PipelineFactory extends AbstractPipelineFactory {
final String configurationTopic =
this.config.getString(ConfigurationKeys.KAFKA_CONFIGURATION_TOPIC);
final Duration duration = Duration.standardSeconds(
this.config.getInt(ConfigurationKeys.EMIT_PERIOD_SECONDS));
final Duration duration = Duration.millis(
this.config.getInt(ConfigurationKeys.EMIT_PERIOD_MS));
final Duration triggerDelay = Duration.standardSeconds(
this.config.getInt(ConfigurationKeys.TRIGGER_INTERVAL_SECONDS));
final Duration gracePeriod = Duration.standardSeconds(
final Duration gracePeriod = Duration.standardSeconds( // TODO this is wrong
this.config.getInt(ConfigurationKeys.GRACE_PERIOD_MS));
// Read from Kafka
......
......@@ -9,7 +9,7 @@ kafka.feedback.topic=aggregation-feedback
schema.registry.url=http://localhost:8081
kafka.window.duration.minutes=1
emit.period.ms=5000
trigger.interval=15
grace.period.ms=270
......
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