skip to Main Content

quarkus-redis-client – How to insert JSON?

How to insert JSON using quarkus-redis-client? I tried writing the json as a String, but I don't know if it's correct. @Singleton public class EmployeeService { @Inject RedisClient redisClient; public void insert(Employee employee) throws JsonProcessingException{ ObjectMapper mapper = new ObjectMapper();…

VIEW QUESTION

Sharing Redis among services

I have a use case in which Microservice A has to do some heavy computation periodically and stores the result in Cache (redis) - something like k8s cron job. Microservice B depends on the Cache written by A.(B only reads.…

VIEW QUESTION
Back To Top
Search