Skip to content

Commit

Permalink
fix(postgres-cdc): ssl.mode value backward compatibility (#16811) (#1…
Browse files Browse the repository at this point in the history
…7359)

Co-authored-by: Yuhao Su <[email protected]>
Co-authored-by: StrikeW <[email protected]>
  • Loading branch information
3 people authored Jun 20, 2024
1 parent 869db4b commit 83dc1fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/connector/src/source/cdc/external/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 83dc1fa

Please sign in to comment.