pub struct MsSqlSourceConfig {
pub host: String,
pub port: u16,
pub database: String,
pub user: String,
pub password: String,
pub auth_mode: AuthMode,
pub tables: Vec<String>,
pub poll_interval_ms: u64,
pub encryption: EncryptionMode,
pub trust_server_certificate: bool,
pub table_keys: Vec<TableKeyConfig>,
pub start_position: StartPosition,
}Expand description
MS SQL CDC source configuration
Fields§
§host: StringMS SQL server hostname or IP address
port: u16MS SQL server port
database: StringDatabase name
user: StringDatabase user
password: StringDatabase password
auth_mode: AuthModeAuthentication mode
tables: Vec<String>Tables to monitor (empty = all CDC-enabled tables)
poll_interval_ms: u64CDC polling interval in milliseconds
encryption: EncryptionModeTLS/SSL encryption mode
trust_server_certificate: boolTrust server certificate (for self-signed certificates)
table_keys: Vec<TableKeyConfig>Custom primary key configuration
start_position: StartPositionStarting position when no LSN is found in the state store
Trait Implementations§
Source§impl Clone for MsSqlSourceConfig
impl Clone for MsSqlSourceConfig
Source§fn clone(&self) -> MsSqlSourceConfig
fn clone(&self) -> MsSqlSourceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MsSqlSourceConfig
impl Debug for MsSqlSourceConfig
Source§impl Default for MsSqlSourceConfig
impl Default for MsSqlSourceConfig
Source§fn default() -> MsSqlSourceConfig
fn default() -> MsSqlSourceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MsSqlSourceConfig
impl<'de> Deserialize<'de> for MsSqlSourceConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MsSqlSourceConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MsSqlSourceConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MsSqlSourceConfig
impl PartialEq for MsSqlSourceConfig
Source§impl Serialize for MsSqlSourceConfig
impl Serialize for MsSqlSourceConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MsSqlSourceConfig
Auto Trait Implementations§
impl Freeze for MsSqlSourceConfig
impl RefUnwindSafe for MsSqlSourceConfig
impl Send for MsSqlSourceConfig
impl Sync for MsSqlSourceConfig
impl Unpin for MsSqlSourceConfig
impl UnsafeUnpin for MsSqlSourceConfig
impl UnwindSafe for MsSqlSourceConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more