Package co.decodable.sdk.pipeline
Interface DecodableStreamSinkBuilder<T>
public interface DecodableStreamSinkBuilder<T>
Builder for creating DecodableStreamSink instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newDecodableStreamSink
for the given configuration.withSerializationSchema
(org.apache.flink.api.common.serialization.SerializationSchema<T> serializationSchema) Specifies the serialization schema to be used.withStreamId
(String streamId) Specifies the id of the stream to write to.withStreamName
(String streamName) Specifies the name of the stream to write to.
-
Method Details
-
withStreamName
Specifies the name of the stream to write to. Either this orwithStreamId(String)
may be used, but not both. -
withStreamId
Specifies the id of the stream to write to. Either this orwithStreamName(String)
may be used, but not both. -
withSerializationSchema
DecodableStreamSinkBuilder<T> withSerializationSchema(org.apache.flink.api.common.serialization.SerializationSchema<T> serializationSchema) Specifies the serialization schema to be used. -
build
DecodableStreamSink<T> build()Returns a newDecodableStreamSink
for the given configuration.
-