Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Browsing all 2222 articles
Browse latest View live
↧

Which is the best comunication framework for java and python scripts. To...

I need to coordinate python and java scripts (experts), which given a clue returns an answer. This experts are of different types, web search, database based or Deep Neural Network based.If I had...

View Article


Redis Jackson Deserialization InvalidTypeIdException - No Such Class Found

We have two separate Java applications using the same Redis map. The first application writes data into the map and the seconds one reads the data from the map. Data is not a primitive but a serialized...

View Article


Collection Object lost due to redis TTL using redission client

We are using Redission client for java to get the data from redis but object gets deleted from collection due to TTL.ExampleWe are trying the below approach to get the data from Redis with TTL.final...

View Article

Distributed Lock using Apache Curator to have consistency with writes in Redis

I have Redis based cache where i have key values read, created and updated frequently. In order to avoid dirty reads and writes i want to implement a distributed lock using Apache Curator as i have...

View Article

Why to use fill_time*2 as the til for the keys in the rate limiter...

I was reading "Scaling your API with rate limiters" article which talks about how stripe has implemented rate limiter, which is a wonderful article and would recommend others to read. But while reading...

View Article


Difference between running 2 threads and running 2 classes calling same function

I am exploring blocking read commands on Redis Steram [XREAD and XADD]. Using XREAD we can acquire multi-client blocking read which is released when XADD is executed. ThisI am observing the following 2...

View Article

Streams not supported when using Jedis 3.6.0 in spring boot 2.3.x

Today when I want to using Jedis to consume stream, throw this error:java.lang.UnsupportedOperationException: Streams not supported using Jedis! at...

View Article

Redis command timed out; nested exception is...

Today when I using Java redis client(spring-data-redis-2.3.9.RELEASE.jar) to consume Redis stream message encount this error:2021-05-11 17:49:42.134 ERROR 26301 --- [-post-service-1]...

View Article


Access Redis container from Kafka connector container get...

My task is to run Kafka connectors in docker containers, when I tried run connectors on my host all worked fine, but in container it fails. I know that there are a lot similar questions( I am new in...

View Article


Spring Data Redis Parameter does not have a name

I have a spring boot project which is using redis as cache, I have an entity which i want to save and use named...

View Article

Redisson scheduleWithFixedDelay job is not running on the configured time

Background:Redisson version: 3.15.0Framework: Spring BootRedis instance type: Cluster mode ( Azure Cache Premium with 2 nodes )I am using scheduleWithFixedDelay API of redisson to schedule two kinds of...

View Article

Why am I getting "NOAUTH Authentication required" with Spring Boot?

I have a simple redis server running with a password. I want to talk with it from my spring boot app. I look here and see there is a spring.redis.password so my application-local.yml (running with...

View Article

Spring Cloud - Redis Rate Limiting - Not working for request per minute

My particular use case is I want to implement the rate limiting at the spring cloud gateway using redis rate limiter e.g. 4 requests per minute for particular route.But it is not working as expected it...

View Article


Connect redis using ingress url from java spring boot

I am trying to connect redis using external ingress url from java spring boot application. But I don't find any documentation or any other references in google.URL would be like https://ingreshost:443,...

View Article

How to do Mass insertion in Redis using JAVA?

Hi I need to do multiple insertions of the form SADD key valueI have the key value pair and needed to know how to perform mass insertions using JAVA . I have written a file in the Redis Protocol. How...

View Article


Unable to connect to redis sentinal in docker from my pc

i am running redis with sentinel in docker and I am not able to connect to my redis using the sentinel. This is my docker-compose file:version: '3'networks: app-tier: driver: bridgeservices: redis:...

View Article

Image may be NSFW.
Clik here to view.

Spring data redis - Hash of Map is retrieved as Map, how to fix this?

I am using Spring Data Redis and using hash operations to save the Map<String, Long> as a hash in Redis.Suppose hash is "some hash", hashkey is "unique key" & hash value is "Map<String,...

View Article


How to identify if Redis is down or if it is running?

I am using redis as a cache in one of my spring boot java application. I am performing only get operation on this redis instance from a scheduler code which runs every 30 seconds and write operation is...

View Article

Image may be NSFW.
Clik here to view.

What is the difference between Rediss cluster configurations in Redisson?

I want to add Redisson client configuration to my app to connect to redis cluster.The config class :org.redisson.config.Confighas several configuration options, some of...

View Article

ObjectMapper Redis Serialization Issue

I am trying to cache An entity like this:class Foo { String attr1; Set<Long> attr2; Set<Long> attr3;}My ObjectMapper + Serializer Configuration: @Bean public RedisSerializer<Object>...

View Article
Browsing all 2222 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>