Dan DC
02/21/2022, 1:06 PMkaivalya apte
02/21/2022, 1:14 PMnull
. This is done mainly to let multiple pinot consumers consume from the same partition (for replication).kaivalya apte
02/21/2022, 1:15 PMDan DC
02/21/2022, 1:19 PMgroup.id
Dan DC
02/21/2022, 1:22 PMMark Needham
kaivalya apte
02/21/2022, 2:00 PMDan DC
02/21/2022, 2:06 PMMark Needham
Mark Needham
curl -X GET "<http://localhost:9000/tables/parkrun/consumingSegmentsInfo>" -H "accept: application/json"
{
"_segmentToConsumingInfoMap": {
"parkrun__0__142__20220219T2118Z": [
{
"serverName": "Server_172.21.0.6_8098",
"consumerState": "CONSUMING",
"lastConsumedTimestamp": 1645452573998,
"partitionToOffsetMap": {
"0": "13991875"
}
}
]
}
}
Dan DC
02/21/2022, 2:15 PMMark Needham
Mark Needham
Dan DC
02/21/2022, 2:27 PMMark Needham
Mayank
Dan DC
02/21/2022, 6:44 PMDan DC
02/23/2022, 4:09 PMminConsumingFreshnessTimeMs
and the code has comment that reads
the timestamp indicating the freshness of the data queried in consuming events
This can be ingestion timestamp if provided by the stream, or last index time
Does this mean that any record read from the consuming segments with timestamp later than this min freshness timestamp is pruned and not included in the query?
Dan DC
02/23/2022, 4:55 PMfreshnessLag
tolerance property that can be set in the tableDan DC
02/23/2022, 4:57 PMDan DC
02/23/2022, 5:31 PMMayank
minConsumingFreshnessTimeMs
, there is no implicit filter applied on top of what the query has to filter out any rows.Mayank
where
clause in your query to add any filter (including time): https://apache-pinot.slack.com/archives/CDRCA57FC/p1645637469349929?thread_ts=1645448815.668029&cid=CDRCA57FCDan DC
02/23/2022, 5:48 PMDan DC
02/24/2022, 2:09 PM