To build a reliable message queue using redis streams, i am using spring-boot-starter-data-redis-reactive and lettuce dependency to process the messages from redis stream. Though i am able to add, read, ack and delete message through the api available in ReactiveRedisOperations.opsForStream() in the form of consumer group, i couldn't find an api to claim a pending message which are not acknowledged for 5mins though its available under this.reactiveRedisConnectionFactory
.getReactiveConnection()
.streamCommands()
.xClaim(). But i don't want to have a boilerplate code to manage the exceptions, serialization, etc. Is there a way to claim a message using ReactiveRedisOperations.opsForStream()
Is XClaim / claim supported in redis spring data - ReactiveRedisOperations.opsForStream()
872 views Asked by Nagendran At
1
There are 1 answers
Related Questions in REDIS
- How to Socket.IO Multithreading on a Raspberry Pi?
- How to get the session ID returned by cookie with spring-session-data-redis
- Cannot serialize (Spring Boot)
- JEDIS/REDIS 'ON' Keyword or broken query?
- Quart_Sessions Redis deletes keys and create backups instead
- Docker builds redis, mounts the host network and uses 192.168.*.* to access the redis server and is denied
- Need a script to fetch the redis latency values over 20 seconds and store the results in a file
- Service in Docker Compose not connecting to Redis container in docker, Failed to connect to any host resolved for DNS name
- Install redis vector database on GCP in a GKE cluster
- how to avoid while loop while waiting for future complete?
- Is it possible to append the data in Redis command
- Not able to inject RedisCache/SyncCache/StatefulRedisConnection beans in micronaut 4.2.1 version
- RedisConnectionFailureException intermittently
- using redis timeseries in aredes error =>Error handling publish event: [ErrorReply: ERR TSDB: invalid value]
- HttpResponseMessage caching using redis
Related Questions in SPRING-DATA
- @TestNg [TestNG] No tests found. Nothing was run Usage: <main class> [options] The XML suite files to run
- Returing List vs Set of Entity in Spring Data JPA
- How to call a stored procedure from Spring Data JPA and map the result to a custom object without having a corresponding entity?
- DynamoDBIndexHashKey annotation on entity field make queries fail
- ConcurrentModificationException happen for findAllById in arangodb-spring-data with concurrent workers
- How do I stop Hibernate from deleting entities from DB which are not in list which I working with?
- How to query jsonb column with spring data
- Schema per tenant in eclipselink using spring boot
- How Are Two Repositories Treated As The Same?
- JdbcTemplate binding to multiple datasources
- Cannot save multiple orders on one customer
- Spring Boot 3 Data Jpa Methods Not working
- How to return an immutable DTO when using Spring Data with MongoDB?
- Partial data insertion in PostgreSQL Database using spring boot service
- Javax.persistence.TransactionRequiredException: Executing an update/delete query - Something wrong with JpaTransactionManager bean?
Related Questions in SPRING-DATA-REDIS
- Service in Docker Compose not connecting to Redis container in docker, Failed to connect to any host resolved for DNS name
- Query regarding @Cacheable in Spring Boot
- How to subscribe redis key space event with spring
- What is the difference between putting @Cache in Entities and @QueryHints in Queries?
- class file for redis.clients.jedis.JedisPoolConfig not found
- NullPointerException when using @Transactional with Spring Data Redis
- The RedisCommandExecutionException, ERR unknown command `CONFIG`, with args beginning with: `GET`, `notify-keyspace-events`
- getClusterConnection.clusterGetNodes always return 1 node
- Getting RedisConnectionFailureException intermittently
- Multiple connections are used even when shareNativeConnection is enabled in spring-data-redis LettuceConnectionFactory
- I cannot change spring session ttl data in redis
- WRONGTYPE Operation against a key holding the wrong kind of value when use GeoOperations class in spring data redis
- What to do when the storage service is down while using Spring Session?
- Redis Query-by-Example does not support string matcher STARTING, ENDING using Spring data redis
- How to use RedisTimeSeriesCommands with jedis in Java Spring Boot
Related Questions in LETTUCE
- Not able to inject RedisCache/SyncCache/StatefulRedisConnection beans in micronaut 4.2.1 version
- lua script from java (io-lettuce-core)
- Redis Cluster performance not increasing linearly with Lettuce
- Multiple connections are used even when shareNativeConnection is enabled in spring-data-redis LettuceConnectionFactory
- Redis two operations performing in single command like String command and Hash command at a time for fetching their values from Redis Server
- Spring data redis LettuceConnectionFactory : sharedConnection is shared across multiple RedisTemplate instances resulting in unexpected behavior
- Redis client Lettuce can't connect to embedded RedisServer but Jedis can connect
- Connecting to Cloud Redis Instance using Lettuce
- Redis Lettuce not distributing requests to all slave instances in v5.1
- Lettuce client not able to detect Redis failure immediately
- Redis Lettuce: Transaction with different codecs
- Lettuce.io - How to prevent a Redis channel becoming inactive?
- How to test interactions inside of a Futures `whenComplete` method
- Using static redis connections in multithreaded env in Java
- What does it mean when Lettuce Core logs indicate missing epoll and kqueue libraries during initialization?
Related Questions in SPRING-DATA-REDIS-REACTIVE
- How to avoid CheckpointOpenResourceException for Spring Boot application with Netty Server and Client
- Can I make a transaction through cluster connection?
- Error While implementing Reactive Redis in the part of Deserialization
- ReactiveRedisMessageListenerContainer doesn't manage the number of subscribers for each subscription but always creates a new one
- In a Redis cluster how do I determine the peak memory usage of all nodes using Spring Data Redis Reactive API?
- Does Lettuce work synchronously by default? (Spring Data Redis)
- How to use Redis cache to cache the Object using spring boot webflux framework having mongodb as datasource
- Spring Data Redis Operation key type
- How to fix OutOfMemory happened with Lettuce Redis
- Is Spring Data Redis Reactive capable of pipelining
- ReactiveRedisOperations not saving object in Redis
- Redis Pipeline using spring data redis reactive
- How to create Empty redis stream?
- Chaining reactive calls to redis in Spring
- ReactiveRedisTemplate List Operations - set Expire and TTL
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Without spring data redis, using lettuce client library directly i am able to get the pending message as well claim a message as below
In order to claim the message, again i have used the api available in lettuce library
At the moment, getting pending message from redis through spring-data has issues hence i have used lettuce library directly to get a pending message and claim it.
https://jira.spring.io/browse/DATAREDIS-1160