Struct dataflow_types::sinks::KafkaSinkConnectorBuilder [−][src]
pub struct KafkaSinkConnectorBuilder {Show 16 fields
pub broker_addrs: KafkaAddrs,
pub format: KafkaSinkFormat,
pub relation_key_indices: Option<Vec<usize>>,
pub key_desc_and_indices: Option<(RelationDesc, Vec<usize>)>,
pub value_desc: RelationDesc,
pub topic_prefix: String,
pub consistency_topic_prefix: Option<String>,
pub consistency_format: Option<KafkaSinkFormat>,
pub topic_suffix_nonce: String,
pub partition_count: i32,
pub replication_factor: i32,
pub fuel: usize,
pub config_options: BTreeMap<String, String>,
pub reuse_topic: bool,
pub transitive_source_dependencies: Vec<GlobalId>,
pub retention: KafkaSinkConnectorRetention,
}
Fields
broker_addrs: KafkaAddrs
format: KafkaSinkFormat
relation_key_indices: Option<Vec<usize>>
A natural key of the sinked relation (view or source).
key_desc_and_indices: Option<(RelationDesc, Vec<usize>)>
The user-specified key for the sink.
value_desc: RelationDesc
topic_prefix: String
consistency_topic_prefix: Option<String>
consistency_format: Option<KafkaSinkFormat>
topic_suffix_nonce: String
partition_count: i32
replication_factor: i32
fuel: usize
config_options: BTreeMap<String, String>
reuse_topic: bool
transitive_source_dependencies: Vec<GlobalId>
retention: KafkaSinkConnectorRetention
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for KafkaSinkConnectorBuilder
impl Send for KafkaSinkConnectorBuilder
impl Sync for KafkaSinkConnectorBuilder
impl Unpin for KafkaSinkConnectorBuilder
impl UnwindSafe for KafkaSinkConnectorBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more