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

Merge branch 'main' into cleanup-commit-interval

parents 665a710e f8b4f08d
Branches cleanup-commit-interval
No related tags found
1 merge request!305Set Kafka Streams commit interval to 5000ms
Pipeline #10181 passed
......@@ -21,10 +21,6 @@ spec:
value: "theodolite-kafka-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://theodolite-kafka-schema-registry:8081"
- name: WINDOW_SIZE_IN_SECONDS
value: "50"
- name: HOPPING_SIZE_IN_SECONDS
value: "1"
#- name: KUBERNETES_DNS_NAME
# value: "titan-ccp-aggregation"
- name: KUBERNETES_NAMESPACE
......
......@@ -61,7 +61,7 @@ public abstract class AbstractFlinkService {
protected void configureCheckpointing() {
final boolean checkpointing = this.config.getBoolean(ConfigurationKeys.CHECKPOINTING, true);
final int commitIntervalMs = this.config.getInt(ConfigurationKeys.CHECKPOINTING_INTERVAL_MS);
LOGGER.info("Set parallelism to: {}.", checkpointing);
LOGGER.info("Set checkpointing to: {}.", checkpointing);
if (checkpointing) {
this.env.enableCheckpointing(commitIntervalMs);
}
......
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