@PublicEvolving public interface ElementConverter<InputT,RequestEntryT> extends Serializable
The request entries contain all relevant information required to create and sent the actual request. Eg, for Kinesis Data Streams, the request entry includes the payload and the partition key.
Modifier and Type | Method and Description |
---|---|
RequestEntryT |
apply(InputT element,
SinkWriter.Context context) |
default void |
open(Sink.InitContext context) |
RequestEntryT apply(InputT element, SinkWriter.Context context)
default void open(Sink.InitContext context)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.