Package org.apache.pinot.spi.stream
Class StreamDecoderProvider
- java.lang.Object
-
- org.apache.pinot.spi.stream.StreamDecoderProvider
-
public class StreamDecoderProvider extends Object
Provider forStreamMessageDecoder
-
-
Method Summary
Modifier and Type Method Description static StreamMessageDecodercreate(StreamConfig streamConfig, Set<String> fieldsToRead)Creates aStreamMessageDecoderusing properties inStreamConfig.
-
-
-
Method Detail
-
create
public static StreamMessageDecoder create(StreamConfig streamConfig, Set<String> fieldsToRead)
Creates aStreamMessageDecoderusing properties inStreamConfig.- Parameters:
streamConfig- The stream config from the table configfieldsToRead- The fields to read from the source stream- Returns:
- The initialized StreamMessageDecoder
-
-