akka/akka-http

Allow customized expiry time for cache entry

Open

#2,473 创建于 2019年3月17日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Scala (598 fork)batch import
1 - triagedhackathonhelp wantedt:caching

仓库指标

Star
 (1,311 star)
PR 合并指标
 (平均合并 1天 10小时) (30 天内合并 2 个 PR)

描述

We are building an aggregated services and using Akka Http Server to expose service endpoints and Akka Http Client to call underlying services. These underlying services require JWT based authentication. To maintain the token, we were thinking of using Akka Http Caching, but it seems it does not support dynamic expiry for cache entry which is required for JWT token.

Caffeine has provided a support for that. It would be a good idea to integrate it with Akka Http Caching. Thoughts?

贡献者指南