Skip to main content

Crate drasi_bootstrap_mssql

Crate drasi_bootstrap_mssql 

Source
Expand description

Microsoft SQL Server Bootstrap Provider for Drasi

This provider reads initial data snapshots from MS SQL Server tables to bootstrap continuous queries before CDC streaming begins.

§Example

use drasi_bootstrap_mssql::MsSqlBootstrapProvider;

let provider = MsSqlBootstrapProvider::builder()
    .with_host("localhost")
    .with_database("production")
    .with_user("drasi_user")
    .with_password("secure_password")
    .with_tables(vec!["orders".to_string()])
    .build()?;

Re-exports§

pub use mssql::MsSqlBootstrapProvider;
pub use mssql::MsSqlBootstrapProviderBuilder;

Modules§

descriptor
Plugin descriptor for the MS SQL bootstrap provider.
mssql
MS SQL bootstrap provider implementation

Structs§

MsSqlSourceConfig
MS SQL CDC source configuration
TableKeyConfig
Table key configuration for custom primary keys

Enums§

AuthMode
Authentication mode for MS SQL Server
EncryptionMode
TLS/SSL encryption mode