akka/akka-http

Allow customized expiry time for cache entry

Open

#2,473 opened on 2019年3月17日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhackathonhelp wantedt:caching

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (平均マージ 1d 10h) (30d で 2 merged PRs)

説明

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?

コントリビューターガイド