Struct rlink_connector_kafka::source::input_format::KafkaInputFormat [−][src]
pub struct KafkaInputFormat { /* fields omitted */ }
Implementations
impl KafkaInputFormat
[src]
impl KafkaInputFormat
[src]pub fn new(
client_config: ClientConfig,
topics: Vec<String>,
buffer_size: usize,
deserializer_builder: Box<dyn KafkaRecordDeserializerBuilder>
) -> Self
[src]
client_config: ClientConfig,
topics: Vec<String>,
buffer_size: usize,
deserializer_builder: Box<dyn KafkaRecordDeserializerBuilder>
) -> Self
Trait Implementations
impl CheckpointFunction for KafkaInputFormat
[src]
impl CheckpointFunction for KafkaInputFormat
[src]fn snapshot_state(
&mut self,
context: &FunctionSnapshotContext
) -> Option<CheckpointHandle>
[src]
fn snapshot_state(
&mut self,
context: &FunctionSnapshotContext
) -> Option<CheckpointHandle>
[src]trigger the method when the operator
operate a Barrier
event
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
[src]
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
[src]trigger the method when a operator
initialization
fn consult_version(
&mut self,
context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
) -> CheckpointId
[src]
&mut self,
context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
) -> CheckpointId
impl InputFormat for KafkaInputFormat
[src]
impl InputFormat for KafkaInputFormat
[src]impl InputSplitSource for KafkaInputFormat
[src]
impl InputSplitSource for KafkaInputFormat
[src]fn create_input_splits(&self, min_num_splits: u16) -> Result<Vec<InputSplit>>
[src]
fn create_input_splits(&self, min_num_splits: u16) -> Result<Vec<InputSplit>>
[src]Create InputSplits by system parallelism[min_num_splits
] Read more
fn input_split_assigner(
&self,
input_splits: Vec<InputSplit, Global>
) -> InputSplitAssigner
[src]
fn input_split_assigner(
&self,
input_splits: Vec<InputSplit, Global>
) -> InputSplitAssigner
[src]Create InputSplitAssigner by InputSplits[‘input_splits’] Read more
impl NamedFunction for KafkaInputFormat
[src]
impl NamedFunction for KafkaInputFormat
[src]Auto Trait Implementations
impl !RefUnwindSafe for KafkaInputFormat
impl !Send for KafkaInputFormat
impl !Sync for KafkaInputFormat
impl Unpin for KafkaInputFormat
impl !UnwindSafe for KafkaInputFormat
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,
T: Any,