Function vector::sinks::aws_kinesis::config::build_sink
source ยท pub fn build_sink<C, R, RR, E, RT>(
config: &KinesisSinkBaseConfig,
partition_key_field: Option<ConfigValuePath>,
batch_settings: BatcherSettings,
client: C,
retry_logic: RT,
) -> Result<VectorSink>where
C: SendRecord + Clone + Send + Sync + 'static,
<C as SendRecord>::T: Send,
<C as SendRecord>::E: Send + Sync + Error,
Vec<<C as SendRecord>::T>: FromIterator<R>,
R: Send + 'static,
RR: Record + Record<T = R> + Clone + Send + Sync + Unpin + 'static,
E: Send + 'static,
RT: RetryLogic<Response = KinesisResponse> + Default,
Expand description
Builds an aws_kinesis sink.