skip to Main Content

Redis – Cannot resolve org.springframework.data:spring-data-keyvalue:2.7.0

project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.boot spring-boot-starter-parent 2.7.0 com.example testingd 0.0.1-SNAPSHOT testingd Demo project for Spring Boot <java.version>17</java.version> org.springframework.boot spring-boot-starter-data-jpa <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>2.7.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>…

VIEW QUESTION

Redis StackExchange LuaScripts with parameters

I'm trying to use the following Lua script using C# StackExchange library: private const string LuaScriptToExecute = @" local current current = redis.call(""incr"", KEYS[1]) if current == 1 then redis.call(""expire"", KEYS[1], KEYS[2]) return 1 else return current end Whenever i'm…

VIEW QUESTION

Spring-Boot 2.7 Redis PUB/SUB fails startup on missing Redis connection

I have this configuration for my pub/sub implementation: @Bean public RedisMessageListenerContainer container(LettuceConnectionFactory connectionFactory, MessageListenerAdapter listenerAdapter) { RedisMessageListenerContainer container = new RedisMessageListenerContainer(); container.setConnectionFactory(connectionFactory); container.addMessageListener(listenerAdapter, new ChannelTopic(publishChannel)); return container; } @Bean public MessageListenerAdapter listenerAdapter(RedisReceiver receiver) { return new MessageListenerAdapter(receiver, "receiveMessage"); } @Bean…

VIEW QUESTION
Back To Top
Search