Is it possible to subscribe to a topic in redis using quarkus-redis-client?

Viewed 354

After I've read the redis quarkus client documentation, I noticed that there is no mention of how to subscribe to a redis topic using the extension quarkus-redis-client and defining a handler to handle the received message.

Does someone have a working example ?

1 Answers

I created a small project to showcase a redis pub/sub using quarkus https://github.com/omarkad2/quarkus-redis-example.

I noticed that there is no API in the quarkus's extension quarkus-redis-client allowing to define subscriber handlers, so I ended up using vertx to register my handlers.

Related