GitHub user ScrapCodes opened a pull request: https://github.com/apache/spark/pull/18143
Simplificaiton of CachedKafkaConsumer using guava cache. ## What changes were proposed in this pull request? On the lines of SPARK-19968, guava cache can be used to simplify the code in CachedKafkaConsumer as well. With an additional feature of automatic cleanup of a consumer unused for a configurable time. ## How was this patch tested? Existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ScrapCodes/spark kafkaConsumer Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18143.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18143 ---- commit 710dae8851b7779936d1e1bc987567b113ae1bce Author: Prashant Sharma <prash...@in.ibm.com> Date: 2017-05-30T06:15:09Z Simplificaiton of CachedKafkaConsumer using guava cache. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org