From 83dc1fa2e526220158ebb32093b9bbcaff5b4d6a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 04:36:31 +0000 Subject: [PATCH] fix(postgres-cdc): ssl.mode value backward compatibility (#16811) (#17359) Co-authored-by: Yuhao Su <31772373+yuhao-su@users.noreply.github.com> Co-authored-by: StrikeW --- src/connector/src/source/cdc/external/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/connector/src/source/cdc/external/mod.rs b/src/connector/src/source/cdc/external/mod.rs index 32a1b1ccfa80c..316c1e9990292 100644 --- a/src/connector/src/source/cdc/external/mod.rs +++ b/src/connector/src/source/cdc/external/mod.rs @@ -257,8 +257,11 @@ pub struct ExternalTableConfig { #[derive(Debug, Clone, Deserialize)] #[serde(rename_all = "lowercase")] pub enum SslMode { + #[serde(alias = "disable")] Disabled, + #[serde(alias = "prefer")] Preferred, + #[serde(alias = "require")] Required, }