Module connector_common

Module connector_common 

Source
Expand description

Common parameters and utilities for both source and sink.

Re-exports§

pub use postgres::PostgresExternalTable;
pub use postgres::SslMode;
pub use postgres::create_pg_client;

Modules§

common 🔒
connection 🔒
iceberg 🔒
maybe_tls_connector 🔒
mqtt_common 🔒
postgres

Structs§

AwsAuthProps
A flatten config map for aws auth.
AwsPrivateLinkItem
ConfluentSchemaRegistryConnection
ElasticsearchConnection
IcebergCommon
IcebergConnection
IcebergSinkCompactionUpdate
IcebergTableIdentifier
KafkaCommon
KafkaConnection
KafkaConnectionProps
KafkaPrivateLinkCommon
KinesisCommon
MongodbCommon
MqttCommon
NatsCommon
NatsConnectionProps
Connection properties for NATS, used as a cache key for shared clients. This includes all properties that affect the connection itself (not stream/subject specific).
PulsarCommon
PulsarOauthCommon
RdKafkaPropertiesCommon

Enums§

MqttQualityOfService

Constants§

DISABLE_DEFAULT_CREDENTIAL
The environment variable to disable using default credential from environment. It’s recommended to set this variable to true in cloud hosting environment.
PRIVATE_LINK_BROKER_REWRITE_MAP_KEY
PRIVATE_LINK_TARGETS_KEY
SCHEMA_REGISTRY_CONNECTION_TYPE

Statics§

SHARED_NATS_CLIENT
Shared NATS client cache. Client connections are cached as Weak pointers in the cache. NATS Connector can access this cache to reuse existing client connections, and avoid exhausting host machine ports. When reading from the cache, the connector should upgrade the weak pointer to an Arc reference. After all strong (Arc) references are dropped, the client connection will be cleaned up. Cache eviction naturally takes care of the dangling weak pointers.

Traits§

Connection

Functions§

read_kafka_log_level
validate_connection