jedis Questions
2
I am using jdish.publish in my web app and jedis.subscribe in my desktop app. so both are separate app.
I have this pubsub class
public class RedisNewPostListener extends JedisPubSub {
private ...
3
Solved
I am using jedis 2.8.0 and getting following exception:
Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set
at redis.clients.jedis.Protocol....
Fearful asked 16/6, 2017 at 21:32
4
Solved
This will be my first time connecting Spring to Redis. The documentation for jedis connection factory: http://www.baeldung.com/spring-data-redis-tutorial
Offers the following code:
@Bean
JedisCo...
Exsanguine asked 28/2, 2018 at 4:28
4
Solved
when I upgrade the jedis to version 4.2.3 in gradle.build:
api "redis.clients:jedis:4.2.3"
show error:
/Users/xiaoqiangjiang/source/reddwarf/backend/retire/dolphin-common/src/main/java/...
5
Solved
I have seen answers in couple of threads but didn't work out for me and since my problem occurs occasionally, asking this question if any one has any idea.
I am using jedis version 2.8.0, Spring D...
Pelite asked 19/4, 2017 at 10:2
4
Solved
I am trying to perform rpush operation and encountered the following error:
redis.clients.jedis.exceptions.JedisConnectionException: Unexpected end of stream.
at redis.clients.util.RedisInputStrea...
4
Solved
I have a Spring Boot 2.5.4 application in which I would like to add Redis and access it via Spring Data Redis. My current configuration looks like this:
pom.xml
<?xml version="1.0" enc...
Gluey asked 8/9, 2021 at 20:9
4
I am running a batch job for every 5 minutes and I don't wanna other nodes to run the same job hence I am using Jedis lock to lock an object for 5 minutes. So that other node won't get the lock if ...
Bruin asked 11/12, 2017 at 23:42
3
Solved
I'm migrating my application from spring boot 1.5.x to 2.0.x. I want to keep jedis but I have a problem with the instantiation of RedisCacheManager.
Now constructor signature is
RedisCacheManage...
Bountiful asked 19/7, 2018 at 8:46
2
In Jedis, I want to set some key and value with expiring time by a single invocation.
I can do this by combination of set() and expire() but it needs two invocations.
I found the following method...
2
I have created a Storm topology which connects to Redis Cluster using Jedis library. Storm component always expects that Redis is up and running and only then it connects to Redis and subscribes th...
Matchbook asked 18/6, 2018 at 11:14
11
I'm running multiple worker threads(around 10) to access the data from the redis Q.
For the i'm using infinte timeout for Jedis Client.
Jedis jedis = pool.getResource();
jedis.getClient().setTime...
Antiphon asked 24/10, 2012 at 5:50
4
Solved
I was using redis and jedis for quite some time and never needed the SCAN commands so far. Now however I need to use the SCAN commands, particularly hscan. I understand how it works on the redis le...
4
I am trying to use spring-data-redis in a spring-boot application to work with redis. I am creating JedisConnectionFactory as follows:
RedisStandaloneConfiguration configuration = new RedisStandal...
Kings asked 20/12, 2017 at 13:32
1
Using Redis, quite familiar. Now, I am facing a situation where the normal PUBSUB mechanism won't really be a great way to handle certain situations.
Take a hash where we say store a reference to a...
1
Solved
I have an application which connects to AWS DynamoDB. I am trying to implement Redis connection using Jedis into this application.
However, just after I add this dependency -
<dependency>
&...
Dawnedawson asked 29/11, 2020 at 8:20
2
Solved
Hi I need to do multiple insertions of the form
SADD key value
I have the key value pair and needed to know how to perform mass insertions using JAVA . I have written a file in the Redis Protoco...
1
I'm trying to connect to AWS ElastiCache Redis using Spring Data Redis + Jedis combination. [Redis Cluster enabled, so it has Cluster Config endpoint, with 3 shard - each shard has 1 primary node +...
Griffen asked 30/4, 2019 at 4:1
2
Solved
I'm very very new to redis and still playing around with it. I want to test to see if its relevant to my project but I'm not sure about a specific command I'm running. The users on SO have got me c...
5
Solved
I am using Spring + Redis as my cache component in the new project. The spring config xml file is:
<!-- Jedis Connection -->
<bean id="jedisConnectionFactory"
class="org.springframewor...
Elis asked 24/9, 2014 at 16:28
2
As I continuously write data to redis, the memory used by copy-on-write keeps increasing. Even though I write my program to sleep long enough so that redis will be able to finish all the background...
Philina asked 20/4, 2014 at 16:6
2
My Application uses ElastiCache on AWS for caching purposes. Our current set up uses a basic Redis Cluster with no sharding or failover. We need to now move to a Clustered Redis Elastic Cache with ...
Cowry asked 18/12, 2018 at 9:52
2
I want to use Hashes data structure in Redis (Jedis client) but also want to maintain the insertion order something like LinkedHashMap in Java. I am totally new to Redis and gone through all the da...
2
Solved
I was trying to connect to JedisCluster (ElastiCache Redis) from java. But I was getting JedisConnectionException with No reachable node in the cluster.
Here was my code to connect to JedisCluster...
2
I am trying to Create a JedisConnection factory from a RedisClusterConfiguration(Pseudo code given below ) but I face a compile time error
The type redis.clients.jedis.JedisShardInfo cannot be ...
Barny asked 30/4, 2018 at 23:17
1 Next >
© 2022 - 2025 — McMap. All rights reserved.