Package co.decodable.sdk.pipeline
Interface DecodableStreamSourceBuilder<T>
public interface DecodableStreamSourceBuilder<T>
Builder for creating DecodableStreamSource instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newDecodableStreamSource
for the given configuration.withDeserializationSchema
(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema) Specifies the deserialization schema to be used.withStartupMode
(StartupMode startupMode) Specifies the start-up mode to use when reading from the stream.withStreamId
(String streamId) Specifies the id of the stream to read from.withStreamName
(String streamName) Specifies the name of the stream to read from.
-
Method Details
-
withStreamName
Specifies the name of the stream to read from. Either this orwithStreamId(String)
may be used, but not both. -
withStreamId
Specifies the id of the stream to read from. Either this orwithStreamName(String)
may be used, but not both. -
withStartupMode
Specifies the start-up mode to use when reading from the stream. -
withDeserializationSchema
DecodableStreamSourceBuilder<T> withDeserializationSchema(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema) Specifies the deserialization schema to be used. -
build
DecodableStreamSource<T> build()Returns a newDecodableStreamSource
for the given configuration.
-