Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webflux: Does this work with Mono<T>? #103

Open
upen4a3 opened this issue Jul 28, 2020 · 1 comment
Open

Webflux: Does this work with Mono<T>? #103

upen4a3 opened this issue Jul 28, 2020 · 1 comment

Comments

@upen4a3
Copy link

upen4a3 commented Jul 28, 2020

Currently I am building an app in reactive programming using spring webflux. Can we use this to cache Mono?And Does this work with "prefix"?

@igorbolic
Copy link
Member

The current Spring Cache API is based on blocking calls, hence the cache annotations would most probably not work with Reactor's Mono and Flux. We're gonna check a bit further if support for reactive types could be added within the library. I'll write you an update in this issue...

As for the prefix, yes it's supported within the library with memcached.cache.prefix configuration property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants