Skip to main content

MySqlSourceConfig

Struct MySqlSourceConfig 

Source
pub struct MySqlSourceConfig {
Show 40 fields pub hostname: String, pub port: u16, pub username: String, pub password: String, pub databases: Vec<String>, pub server_id: u32, pub tables: TableSelection, pub ssl_mode: String, pub connection_time_zone: String, pub ssl_ca: Option<String>, pub ssl_cert: Option<String>, pub ssl_key: Option<String>, pub ssl_keystore: Option<String>, pub ssl_keystore_password: Option<String>, pub ssl_truststore: Option<String>, pub ssl_truststore_password: Option<String>, pub connect_timeout: Duration, pub connect_keep_alive: bool, pub connect_keep_alive_interval: Duration, pub reconnect_max_attempts: u32, pub schema_history_skip_unparseable_ddl: bool, pub gtid_source_includes: Vec<String>, pub gtid_source_excludes: Vec<String>, pub gtid_source_filter_dml_events: bool, pub heartbeat_interval: Duration, pub heartbeat_action_query: Option<String>, pub heartbeat_topics_prefix: String, pub heartbeat_topic_name: Option<String>, pub signal_data_collection: Option<String>, pub signal_enabled_channels: Vec<String>, pub signal_file: String, pub signal_poll_interval: Duration, pub incremental_snapshot_chunk_size: usize, pub incremental_snapshot_watermarking_strategy: String, pub signal_kafka_topic: Option<String>, pub signal_kafka_bootstrap_servers: Vec<String>, pub signal_kafka_group_id: String, pub signal_kafka_poll_timeout: Duration, pub signal_kafka_consumer_properties: BTreeMap<String, String>, pub column_transformations: Vec<ColumnTransformRule>,
}

Fields§

§hostname: String§port: u16§username: String§password: String§databases: Vec<String>§server_id: u32§tables: TableSelection§ssl_mode: String§connection_time_zone: String§ssl_ca: Option<String>§ssl_cert: Option<String>§ssl_key: Option<String>§ssl_keystore: Option<String>§ssl_keystore_password: Option<String>§ssl_truststore: Option<String>§ssl_truststore_password: Option<String>§connect_timeout: Duration§connect_keep_alive: bool§connect_keep_alive_interval: Duration§reconnect_max_attempts: u32§schema_history_skip_unparseable_ddl: bool§gtid_source_includes: Vec<String>§gtid_source_excludes: Vec<String>§gtid_source_filter_dml_events: bool§heartbeat_interval: Duration§heartbeat_action_query: Option<String>§heartbeat_topics_prefix: String§heartbeat_topic_name: Option<String>§signal_data_collection: Option<String>§signal_enabled_channels: Vec<String>§signal_file: String§signal_poll_interval: Duration§incremental_snapshot_chunk_size: usize§incremental_snapshot_watermarking_strategy: String§signal_kafka_topic: Option<String>§signal_kafka_bootstrap_servers: Vec<String>§signal_kafka_group_id: String§signal_kafka_poll_timeout: Duration§signal_kafka_consumer_properties: BTreeMap<String, String>§column_transformations: Vec<ColumnTransformRule>

Implementations§

Trait Implementations§

Source§

impl Clone for MySqlSourceConfig

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MySqlSourceConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MySqlSourceConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MySqlSourceConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more