saiswapnilar-stripe opened a new pull request, #20317:
URL: https://github.com/apache/pinot/pull/20317

   Periodic offset polling currently shares 
`StreamMetadataProvider.supportsOffsetLag()` with startup catch-up checks. A 
stream implementation that can compute offsets must report its capability 
accurately even when operators do not want the ongoing polling cost.
   
   Add `pinot.server.instance.periodic.offset.lag.tracking.enabled` to control 
periodic offset fetches and offset gauges independently. It defaults to `true`; 
polling still requires `supportsOffsetLag()`, preserving the existing behavior 
for both supported and unsupported streams. Setting it to `false` disables 
periodic offset tracking while retaining ingestion-delay metrics and leaving 
startup freshness checks unchanged.
   
   Suggested labels: `feature`, `observability`, `release-notes`.
   
   Testing: `./mvnw -B -pl pinot-core -am -Dtest=IngestionDelayTrackerTest 
-Dsurefire.failIfNoSpecifiedTests=false test` — 11 tests passed. 
Affected-module formatting, checkstyle, and license checks passed.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to