1mod config;
2mod errors;
3mod runtime;
4mod types;
5extern crate async_trait;
6extern crate serde;
7extern crate thiserror;
8extern crate wp_model_core;
9pub use config::param::{parammap_from_toml_map, parammap_from_toml_table};
11pub use errors::{
12 ReasonSummary, SinkError, SinkErrorOwe, SinkReason, SinkResult, SourceError, SourceReason,
13 SourceResult,
14};
15pub use errors::sink::{ReasonSummary as ErrorSummary, SinkErrorOwe as SinkResultExt};
17
18pub use config::adapter::ConnectorKindAdapter;
21pub use runtime::cnn::{ConnectorDef, ConnectorScope, SinkDefProvider, SourceDefProvider};
22pub use types::ParamMap;
23pub use runtime::sink::{
25 AsyncCtrl, AsyncRawDataSink, AsyncRecordSink, AsyncSink, ResolvedSinkSpec as SinkSpec,
26 SinkBuildCtx, SinkFactory, SinkHandle,
27};
28
29pub use runtime::source::{
30 AcceptorHandle, AckToken, ControlEvent, CtrlRx, DataSource, EventPreHook,
31 ResolvedSourceSpec as SourceSpec, SeekPosition, ServiceAcceptor, SourceBatch, SourceBuildCtx,
32 SourceCaps, SourceEvent, SourceFactory, SourceHandle, SourceMeta, SourceSvcIns, Tags,
33};