skip to Main Content

Spring Data Redis, Expiring and Redis Cluster

I have an app using Spring Boot 2.2.6.RELEASE (spring-boot-starter-data-redis) Jedis 3.1.0. I've have a Redis 5.0.7 Cluster of 6 nodes: 3 masters and 3 slaves with replication 127.0.0.1:7000-7005 (just exemplary values). I've configured my app this way: @Configuration @EnableRedisRepositories(basePackages =…

VIEW QUESTION

Apache Karaf – Unable to resolve root: missing requirement – caused by: Unable to resolve java-api – CentOS

I have Apache Karaf 4.0.1 running on a Linux Centos 7 server. I get the following error: org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=travellinck-osgi; type=karaf.feature; version="[1.0.4,1.0.4]"; filter:="(&(osgi.identity=travellinck-osgi)(type=karaf.feature)(version>=1.0.4)(version<=1.0.4))" [caused by: Unable to resolve travellinck-osgi/1.0.4: missing requirement [travellinck-osgi/1.0.4] osgi.identity;…

VIEW QUESTION

org.springframework.data.redis.RedisConnectionFailureException: Could not get a resource from the pool – Debian

My cassandra docker-compose file: version: '2' services: redis-node-0: image: docker.io/bitnami/redis-cluster:latest ports: - "6370:6379" environment: - 'REDIS_PASSWORD=pass' - 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5' redis-node-1: image: docker.io/bitnami/redis-cluster:latest ports: - "6371:6379" environment: - 'REDIS_PASSWORD=pass' - 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5' redis-node-2:…

VIEW QUESTION

Redis – java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6

I was trying to implement Redis caching for SpringBoot app which exposes Rest API. Important code snippets and maven build file enclosed. Start-up annotations: @SpringBootApplication @EnableAsync @EnableScheduling @EnableCaching public class Application { pom.xml(Only relevant dependencies listed) : <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>…

VIEW QUESTION
Back To Top
Search