You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/12/29 19:09:52 UTC
[GitHub] [pinot] richardstartin commented on a change in pull request #7965: Remove FIX ME comment from Kinesis plugin
richardstartin commented on a change in pull request #7965:
URL: https://github.com/apache/pinot/pull/7965#discussion_r776461337
##########
File path: pinot-plugins/pinot-stream-ingestion/pinot-kinesis/src/main/java/org/apache/pinot/plugin/stream/kinesis/KinesisStreamMetadataProvider.java
##########
@@ -108,8 +108,6 @@ public StreamPartitionMsgOffset fetchStreamPartitionOffset(OffsetCriteria offset
if (shard == null) { // Shard has expired
shardsEnded.add(shardId);
continue;
- // FIXME: Here we assume that we were done consuming the shard before it expired.
- // Handle edge case where consumer lags behind, resulting in shard to expire before it is all consumed
Review comment:
I would prefer to have a log statement or emit a metric here for serviceability
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org