Hi all, I would like to start the discussion on KIP-1404: Per-Principal Remote Storage Fetch Metrics.
This is my first KIP. The implementation is already available as a draft PR, and it needs review. I know the usual order is KIP first, so please treat the PR only as a reference for the design. I am happy to change either one based on the discussion. KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-1404%3A+Per-Principal+Remote+Storage+Fetch+Metrics JIRA: https://issues.apache.org/jira/browse/KAFKA-21643 PR (draft): https://github.com/apache/kafka/pull/24363 Summary: KIP-1404 adds opt-in metrics (off by default) that show which principal reads from remote (tiered) storage, and optionally which topic and client-id. Today the KIP-963 metrics are per topic only. The new metrics are keyed by the authenticated principal, created only for principals that actually read remote data, removed after a TTL of inactivity, and bounded by a per-broker maximum. No protocol, client or plugin changes are needed. Thanks in advance for your time and feedback. -- Thanks, *Avishek Das* <https://www.linkedin.com/in/imavishek/> SMTS At Salesforce <https://www.linkedin.com/company/salesforce/>
