pub trait Sink: Send {
// Required methods
fn send<'life0, 'async_trait>(
&'life0 mut self,
batch: RecordBatch,
span: OffsetSpan,
) -> Pin<Box<dyn Future<Output = Result<Receipt, SinkError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn flush<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), SinkError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
A transport-neutral sink: accept Arrow batches fire-and-forget, confirm durability out of band.