From feeccb305d439a999c52b705887f622448fd560c Mon Sep 17 00:00:00 2001 From: mpgxvii Date: Thu, 7 Jan 2021 00:16:56 +0800 Subject: [PATCH 1/2] Update jdbc sink properties --- charts/radar-jdbc-connector/templates/configmap.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/radar-jdbc-connector/templates/configmap.yaml b/charts/radar-jdbc-connector/templates/configmap.yaml index c131c2d4..896fc745 100644 --- a/charts/radar-jdbc-connector/templates/configmap.yaml +++ b/charts/radar-jdbc-connector/templates/configmap.yaml @@ -25,3 +25,6 @@ data: pk.mode = record_value pk.fields = time, userId, projectId auto.create = true + max.retries = 30 + # Wait 15 minutes before retrying failed task + retry.backoff.ms = 900000 From 21d568eaa4665eff01b73fe87ebe99f5c09648a3 Mon Sep 17 00:00:00 2001 From: mpgxvii Date: Thu, 7 Jan 2021 20:12:11 +0800 Subject: [PATCH 2/2] Remove unused topics for jdbc connector --- charts/radar-jdbc-connector/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/radar-jdbc-connector/values.yaml b/charts/radar-jdbc-connector/values.yaml index 919f297e..983f5eb1 100644 --- a/charts/radar-jdbc-connector/values.yaml +++ b/charts/radar-jdbc-connector/values.yaml @@ -52,7 +52,7 @@ zookeeper: cp-zookeeper-headless:2181 kafka: PLAINTEXT://cp-kafka-headless:9092 kafka_num_brokers: "3" schema_registry: http://cp-schema-registry:8081 -topics: android_phone_relative_location, android_phone_battery_level, connect_upload_altoida_summary, connect_fitbit_intraday_heart_rate, connect_fitbit_intraday_calories, connect_fitbit_intraday_steps +topics: android_phone_relative_location, android_phone_battery_level, connect_upload_altoida_summary, connect_fitbit_intraday_heart_rate, connect_fitbit_intraday_steps timescaledb: host: timescaledb