Comments (8)
This method requires Redis 7.0+ as mentioned in javadocs.
from redisson.
failed with Redis 7.0+as also
redis_version:7.2.4
redisson version: 3.29.0
org.redisson.client.RedisException: ERR Unknown Redis command called from script script: 53dad715c48e157e76e9fad49b78d39e8fc84432, on @user_script:1.. channel: [id: 0x57e6dcaa, L:/127.0.0.1:57861 - R:localhost/127.0.0.1:6379] command: (EVAL), promise: java.util.concurrent.CompletableFuture@3caa2660[Not completed, 1 dependents], params: [redis.call('json.set', KEYS[1], '$', ARGV[1]); redis.call('pexpire', KEYS[1], ARGV[2]); , 1, node:T001, PooledUnsafeDirectByteBuf(ridx: 0, widx: 99, cap: 256), 120000]
at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:415)
at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:216)
at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144)
at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120)
by the way,when I use redisson-micronaut-40(3.30.0),it can't find a Config.class bean. @mrniko
from redisson.
redis.call('json.set', KEYS[1], '$', ARGV[1]);
make sure that json.set
is supported by Redis vendor
from redisson.
when I use redisson-micronaut-40(3.30.0),it can't find a Config.class
Is there any code sample to reproduce it?
from redisson.
when I use redisson-micronaut-40(3.30.0),it can't find a Config.class
Is there any code sample to reproduce it?
I use docker image redis/redis-stack-server:latest
. the code is following:
redissonClient.getJsonBucket(key, new JacksonCodec<>(SimpleObject.class))
.set(obj, Duration.of(2,TimeUnit.MINUTES.toChronoUnit()))
actually I am trying to use RediSearch and copy the code from the sample @mrniko
from redisson.
Is there any code sample to reproduce it?
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-micronaut-40</artifactId>
<version>3.29.0</version>
</dependency>
just replace 3.29.0 with 3.30.0.
the config in code ↓
@Factory
public class RedissonConfig {
@Singleton
@Replaces(RedissonClient.class)
public RedissonClient redissonClient(Config config) {
Codec codec = new JsonJacksonCodec();
config.setCodec(codec);
return Redisson.create(config);
}
}
Message: No bean of type [org.redisson.config.Config] exists.
Path Taken: new FpgaManager(RedisManager redisManager) --> new FpgaManager([RedisManager redisManager]) --> new RedisManager([RedissonClient redissonClient]) --> RedissonConfig.redissonClient([Config config])
from redisson.
This is the result of incorrect configuration. Try to add @Requires(beans = Config.class)
from redisson.
This is the result of incorrect configuration. Try to add
@Requires(beans = Config.class)
thx!
make sure that
json.set
is supported by Redis vendor
finally I found I need a RedisJSON module in Redis. haha~
from redisson.
Related Issues (20)
- RedisConnection is not released after network loopback HOT 4
- Add RSearch.getIndexes() method HOT 1
- RSearch AggregationOptions#loadAll() method doesn't work HOT 1
- org.jboss.marshalling not incuded with latest redisson version ? HOT 3
- Support eviction from RMapCache based on underlying size of the map in bytes
- urgent problem HOT 1
- "Unable to connect" message after Connection created - part 2 HOT 4
- (过期消息积压在RDelayedQueue)Expired messages are backlogged in RDelayedQueue, expired but not transferred to the expired queue HOT 2
- redisson:tomcat_notified_nodes keys created without an expiration HOT 1
- StacklessClosedChannelException happend after redis instance switching.
- RedissonLock - infinity loop of acquiring/releasing, the number of available permits is greater than 1. HOT 8
- Redis Sentintel mode: PubSub stops working after Redis restart
- SET in pipeline don't return result of an operation HOT 3
- nodes (ip/port) that leave the cluster and then rejoin are never reflected in redison cluster topology, but are in CLUSTER NODES HOT 4
- "RedissonShutdownException: Redisson is shutdown" error during graceful shutdown (deployment) HOT 5
- Name mapper behavior in context of Redis operation which takes additional key parameter
- Settings into application.properties file. HOT 1
- Redisson needs to support chaining BITFIELD increment commands HOT 2
- Command still hasn't been written into connection! Increase nettyThreads and/or retryInterval settings. HOT 3
- Issue related to redis and redisson HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redisson.