Jagannath Timma
02/15/2022, 10:13 PMMayank
Luis Fernandez
02/15/2022, 10:15 PMJagannath Timma
02/15/2022, 10:15 PMLuis Fernandez
02/15/2022, 10:15 PMLuis Fernandez
02/15/2022, 10:16 PMMayank
Luis Fernandez
02/15/2022, 10:20 PMLuis Fernandez
02/15/2022, 10:21 PMLuis Fernandez
02/15/2022, 10:21 PMMayank
Mayank
Luis Fernandez
02/15/2022, 10:23 PMRong R
02/16/2022, 1:58 PMrealtime.segment.flush.threshold.time would it be possible that the flush didn't get trigger because the time threshold is higher then kafka retention period (and no other flush criteria met either)Mayank
Mayank
Rong R
02/16/2022, 2:31 PMLuis Fernandez
02/16/2022, 2:57 PMLuis Fernandez
02/16/2022, 2:57 PMLuis Fernandez
02/16/2022, 2:58 PM"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.segment.size": "250M"Luis Fernandez
02/16/2022, 2:59 PMLuis Fernandez
02/16/2022, 3:00 PMFetch position FetchPosition is out of range for partition resetting offsetLuis Fernandez
02/16/2022, 3:00 PMRong R
02/16/2022, 3:22 PM"realtime.segment.flush.threshold.time": "6h", or increase your kafka retention will resolve this issue going forward. however you wont be able to recover what’s lost since data is gone alreadyMayank
Mayank
Luis Fernandez
02/16/2022, 4:25 PMLuis Fernandez
02/16/2022, 4:55 PMLuis Fernandez
02/16/2022, 4:55 PMLuis Fernandez
02/16/2022, 4:56 PMMayank
Luis Fernandez
02/16/2022, 6:53 PMLuis Fernandez
02/16/2022, 6:54 PM"stream.kafka.consumer.prop.auto.offset.reset"Luis Fernandez
02/16/2022, 8:38 PMMayank
Luis Fernandez
02/17/2022, 12:02 AMRong R
02/17/2022, 12:06 AMMayank
Mayank
Jagannath Timma
02/17/2022, 6:43 AMLuis Fernandez
02/17/2022, 3:41 PMNeha Pawar
Luis Fernandez
02/17/2022, 3:56 PMLuis Fernandez
02/17/2022, 3:57 PM[Consumer clientId=consumer-null-23, groupId=null] Fetch position FetchPosition{offset=5063422319, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xx..xx..x (id: 4, epoch=5}} is out of range for partition beacon-ads-listing-stats-7, resetting offset
[Consumer clientId=consumer-null-23, groupId=null] Resetting offset for partition beacon-ads-listing-stats-7 to position FetchPosition{offset=553642866, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xx..x..xx (id: 4 )], epoch=5}}.Luis Fernandez
02/17/2022, 3:58 PMLuis Fernandez
02/17/2022, 3:58 PMLuis Fernandez
02/17/2022, 3:59 PMConsumed 0 events from (rate:0.0/s), currentOffset=5063422318, numRowsConsumedSoFar=0, numRowsIndexedSoFar=0Neha Pawar
Luis Fernandez
02/17/2022, 4:09 PMNeha Pawar
Luis Fernandez
02/17/2022, 4:15 PMLuis Fernandez
02/17/2022, 4:16 PM"segment.realtime.status": "IN_PROGRESS"Luis Fernandez
02/17/2022, 4:16 PMNeha Pawar
Luis Fernandez
02/17/2022, 4:34 PMNeha Pawar
Luis Fernandez
02/17/2022, 4:59 PMLuis Fernandez
02/17/2022, 5:00 PMNeha Pawar
Luis Fernandez
02/17/2022, 7:10 PMLuis Fernandez
02/17/2022, 7:30 PMSubbu Subramaniam
02/18/2022, 6:36 PMrealtime.segment.flush.threshold.time to be 24h. It should be less than kafka retention time, preferably 1/3 or even 1/4.
Secondly, if a consumer tries to consume an offset that does not exist in Kafka, the Kafka driver is expected to throw an exception. If that is not happening, then it is a bug in Kafka. whichKafka plugin are you using?
Thirdly, if the driver indeed throws an exception, Pinot background jobs automatically re-create new segments that start to consume from earliest available offset. If there is data loss, a metric is emitted (from the controller) as well as a log warning so.
cc: @Sajjad MoradiLuis Fernandez
02/18/2022, 6:43 PMLuis Fernandez
02/18/2022, 6:43 PMSubbu Subramaniam
02/18/2022, 7:29 PMLuis Fernandez
02/18/2022, 7:56 PMLuis Fernandez
02/22/2022, 6:18 PM