Package co.decodable.sdk.pipeline
Interface DecodableStreamSinkBuilder<T>
public interface DecodableStreamSinkBuilder<T>
Builder for creating DecodableStreamSink instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newDecodableStreamSinkfor the given configuration.withRecordSerializationSchema(DecodableRecordSerializationSchema<?> recordSerializationSchema) Specifies the key and value serialization schema to be used which supports both key and value parts of a record.withSerializationSchema(org.apache.flink.api.common.serialization.SerializationSchema<T> serializationSchema) Deprecated.Specifies the value only serialization schema to be used.withStreamId(String streamId) Deprecated.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. -
withStreamId
Deprecated.Specifies the id of the stream to write to. UsewithStreamName(String)instead. -
withSerializationSchema
@Deprecated DecodableStreamSinkBuilder<T> withSerializationSchema(org.apache.flink.api.common.serialization.SerializationSchema<T> serializationSchema) Deprecated.Specifies the value only serialization schema to be used. UsewithRecordSerializationSchema(DecodableRecordSerializationSchema)instead. -
withRecordSerializationSchema
DecodableStreamSinkBuilder<T> withRecordSerializationSchema(DecodableRecordSerializationSchema<?> recordSerializationSchema) Specifies the key and value serialization schema to be used which supports both key and value parts of a record. -
build
DecodableStreamSink<T> build()Returns a newDecodableStreamSinkfor the given configuration.
-