risingwave_connector/connector_common/
mod.rs

1// Copyright 2025 RisingWave Labs
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Common parameters and utilities for both source and sink.
16
17mod mqtt_common;
18pub use mqtt_common::{MqttCommon, QualityOfService as MqttQualityOfService};
19
20mod common;
21pub use common::{
22    AwsAuthProps, AwsPrivateLinkItem, KafkaCommon, KafkaConnectionProps, KafkaPrivateLinkCommon,
23    KinesisCommon, KinesisSdkOptions, MongodbCommon, NatsCommon,
24    PRIVATE_LINK_BROKER_REWRITE_MAP_KEY, PRIVATE_LINK_TARGETS_KEY, PulsarCommon, PulsarOauthCommon,
25    RdKafkaPropertiesCommon,
26};
27mod connection;
28pub use connection::{
29    ConfluentSchemaRegistryConnection, Connection, ElasticsearchConnection, IcebergConnection,
30    KafkaConnection, SCHEMA_REGISTRY_CONNECTION_TYPE, validate_connection,
31};
32pub use iceberg::compaction::IcebergSinkCompactionUpdate;
33
34mod iceberg;
35#[cfg(not(madsim))]
36mod maybe_tls_connector;
37pub mod postgres;
38
39pub use iceberg::IcebergCommon;
40pub use postgres::{PostgresExternalTable, SslMode, create_pg_client};