A rather noob question about ingesting into Pinot ...
# troubleshooting
r
A rather noob question about ingesting into Pinot from kafka. If the upstream (kafka) has bad data that’s causing ingestion to fail, does Pinot ignore the record and continue ingesting the remaining records, or does ingestion get into a bad state and stop altogether?
k
it depends on the severity of the bad data.. if a field is bad, it will use default value but if we fail to decode the entire message payload, it will stop consumption. We recently added a flag to ignore that as well and move forward
r
Can you point me to the flag please?
d
If I'm not wrong, this is still work in progress. The PR should be raised shortly though
Which data format does your upstream app push to Kafka? JSON, Avro?
k
sorry my bad.. I thought it was merged.. @Dan DC do you need anything from us to push it?
d
Not at all, no worries. I'll try to push the code tomorrow and I'll ping you and post the PR on the dev channel to try to get it reviewed. Apologies for the delay
r
@Dan DC we use JSON. And thanks for the update.
d
For invalid JSON payloads the decoder should just ignore the messages
That plus what Kishore said :)
r
Great, thank you!
d
No problem