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) Deprecated.Specifies the value only deserialization schema to be used.withRecordDeserializationSchema
(DecodableRecordDeserializationSchema<?> recordDeserializationSchema) Specifies the record deserialization schema to be used which supports both key and value parts of a record.withStartupMode
(StartupMode startupMode) Specifies the start-up mode to use when reading from the stream.withStreamId
(String streamId) Deprecated.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. -
withStreamId
Deprecated.Specifies the id of the stream to read from. UsewithStreamName(String)
instead. -
withStartupMode
Specifies the start-up mode to use when reading from the stream. -
withDeserializationSchema
@Deprecated DecodableStreamSourceBuilder<T> withDeserializationSchema(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema) Deprecated.Specifies the value only deserialization schema to be used. UsewithRecordDeserializationSchema(DecodableRecordDeserializationSchema)
instead. -
withRecordDeserializationSchema
DecodableStreamSourceBuilder<T> withRecordDeserializationSchema(DecodableRecordDeserializationSchema<?> recordDeserializationSchema) Specifies the record deserialization schema to be used which supports both key and value parts of a record. -
build
DecodableStreamSource<T> build()Returns a newDecodableStreamSource
for the given configuration.
-