Struct feldera_types::transport::kafka::KafkaInputFtConfig
source · pub struct KafkaInputFtConfig {
pub consumer_options: BTreeMap<String, String>,
pub producer_options: BTreeMap<String, String>,
pub index_suffix: Option<String>,
pub create_missing_index: Option<bool>,
pub max_step_bytes: Option<u64>,
pub max_step_messages: Option<u64>,
}Expand description
Fault tolerance configuration for Kafka input connector.
Fields§
§consumer_options: BTreeMap<String, String>Options passed to rdkafka for consumers only, as documented at
librdkafka
options.
These options override kafka_options for consumers, and may be empty.
producer_options: BTreeMap<String, String>Options passed to rdkafka for producers only, as documented at
librdkafka
options.
These options override kafka_options for producers, and may be empty.
index_suffix: Option<String>Suffix to append to each data topic name, to give the name of a topic
that the connector uses for recording the division of the corresponding
data topic into steps. Defaults to _input-index.
An index topic must have the same number of partitions as its corresponding data topic.
If two or more fault-tolerant Kafka endpoints read from overlapping sets
of topics, they must specify different index_suffix values.
create_missing_index: Option<bool>If this is true or unset, then the connector will create missing index topics as needed. If this is false, then a missing index topic is a fatal error.
max_step_bytes: Option<u64>Maximum number of bytes in a step. Any individual message bigger than this will be given a step of its own.
max_step_messages: Option<u64>Maximum number of messages in a step.
Trait Implementations§
source§impl Clone for KafkaInputFtConfig
impl Clone for KafkaInputFtConfig
source§fn clone(&self) -> KafkaInputFtConfig
fn clone(&self) -> KafkaInputFtConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KafkaInputFtConfig
impl Debug for KafkaInputFtConfig
source§impl<'de> Deserialize<'de> for KafkaInputFtConfig
impl<'de> Deserialize<'de> for KafkaInputFtConfig
source§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>,
source§impl PartialEq for KafkaInputFtConfig
impl PartialEq for KafkaInputFtConfig
source§impl Serialize for KafkaInputFtConfig
impl Serialize for KafkaInputFtConfig
source§impl<'__s> ToSchema<'__s> for KafkaInputFtConfig
impl<'__s> ToSchema<'__s> for KafkaInputFtConfig
impl Eq for KafkaInputFtConfig
impl StructuralPartialEq for KafkaInputFtConfig
Auto Trait Implementations§
impl Freeze for KafkaInputFtConfig
impl RefUnwindSafe for KafkaInputFtConfig
impl Send for KafkaInputFtConfig
impl Sync for KafkaInputFtConfig
impl Unpin for KafkaInputFtConfig
impl UnwindSafe for KafkaInputFtConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.