For stream ingestion with Kafka, only JSON format ...
# general
m
For stream ingestion with Kafka, only JSON format is currently supported right? The input formatslisted here https://docs.pinot.apache.org/basics/data-import/pinot-input-formats are only for batch ingestion?
x
json/avro
you can also write your own decoder by implementing:
org.apache.pinot.spi.stream.StreamMessageDecoder
k
thrift/protobuf etc streamsource is decoupled from the data format
m
i see. Missed the avro one
thought we would put all kafka decoders under
src/main/java/org/apache/pinot/plugin/stream/kafka
thrift/protobuf etc streamsource is decoupled from the data format
@User would you mind elaborating on this? You mean thrift/protobuf is available for kakfa streaming ingestion? I don't see a decoder class for them under
pinot-plugins/pinot-input-format
k
yeah, looks like thrift/protobuf is available only for batch ingestion.. I dont see any reason why we cant add that for real-time as well