[
https://issues.apache.org/jira/browse/SPARK-23714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403112#comment-16403112
]
Ted Yu commented on SPARK-23714:
--------------------------------
[~tdas] made the following suggestion:
apache commons pool does expose metrics on idle/active counts. See
https://commons.apache.org/proper/commons-pool/apidocs/org/apache/commons/pool2/impl/BaseGenericObjectPool.html
> Add metrics for cached KafkaConsumer
> ------------------------------------
>
> Key: SPARK-23714
> URL: https://issues.apache.org/jira/browse/SPARK-23714
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 2.3.0
> Reporter: Ted Yu
> Priority: Major
>
> SPARK-23623 added KafkaDataConsumer to avoid concurrent use of cached
> KafkaConsumer.
> This JIRA is to add metrics for measuring the operations of the cache so that
> users can gain insight into the caching solution.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]