Skip to content

Commit

Permalink
chore: add comment to ssl.mode field in ExternalTableConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jetjinser committed Mar 20, 2024
1 parent 46a9074 commit 5cfb695
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 @@ -246,6 +246,9 @@ pub struct ExternalTableConfig {
pub schema: String,
#[serde(rename = "table.name")]
pub table: String,
/// `ssl.mode` specifies the SSL/TLS encryption level for secure communication with Postgres.
/// Choices include `disable`, `prefer`, and `require`.
/// This field is optional. `prefer` is used if not specified.
#[serde(rename = "ssl.mode", default = "Default::default")]
pub sslmode: SslMode,
}
Expand Down

0 comments on commit 5cfb695

Please sign in to comment.