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()
871 Views Asked by Nagendran At
1
There are 1 best solutions below
Related Questions in REDIS
- start redis with supervisor
- How to do Mass insertion in Redis using JAVA?
- RedisResponseException: Unknown reply on multi-request
- Redis / Get all keys & values from redis with prefix
- Remove a member from multiple sets in Redis
- Using memcached or Redis on aws-elasticache
- Get Socket Object by Id with node, redis-adapter and socket.io
- how can i save a complex json as string in redis and retrieve it as unescaped legit json object
- How to specify versions on PIP when installing a python package with it's dependencies
- Eloquent model for Redis
- Is exists check required before calling StringSet method of StrackExchange.Redis
- Predis: Pros and Cons of the two cluster strategies
- hmset redis with result from mysqlDB
- does redis cluster support transactions ?
- How change redis to be persistent
Related Questions in SPRING-DATA
- LightAdmin - Customise parsing DateTime with app timezone
- ClassNotFound: UpdateableState in spring-data-neo4j-rest 3.3.0
- Spring Data JPA Many to Many save to set
- Inherited properties of related entities are not visible in spring-data-neo4j-rest
- Guice + Jersey + Spring data
- org.hibernate.exception.SQLGrammarException: could not prepare statement; nested exception is javax.persistence.PersistenceException
- Caused by: java.sql.SQLSyntaxErrorException: [SQL0205] Column MITMAS_MMCONO not in table OOLINE in schema
- Spring HATEOAS + JPA links
- Mongo @DBRef unique
- What is the exact meaning of @RestResource(exported=false) in Spring-Data?
- How is the RowMapper Method working from Spring 1.2?
- Spring boot don't let me create a repository without database
- Delete ObjectDetails from Object Spring Data
- How to have a different Elastic Spring Data index per request
- JPA - how to prevent an unnecessary join while querying many to many relationships
Related Questions in SPRING-DATA-REDIS
- Redis Serialization and Deserialization
- Getting a lost Sentinel error message for Redis
- Spring Data Redis issue with connection pooling
- Spring Bean Scope for StringRedisConnection
- Cannot create springSessionRepositoryFilter while connecting Spring Session and Redis
- Using RedisSentinelConfiguration doesn't fail over to the next available sentinel/master
- setting spring data jedis connection pool using application.yml file
- Dynamically creating RedisTemplate for connecting with different Redis server
- Spring Data Redis - @Transactional support on Repository
- Spring Data Store Redis - Use Multiple Caches
- Spring data redis - listen to expiration event
- Error trying to wire a Lettuce Connection Factory
- does spring-data-redis support jedis sharding pool?
- Spring data redis - multiple schema - change schema in session (getting the connection) VS. using multiple connection pools
- Strategy to manage Redis collections in Java
Related Questions in LETTUCE
- How can i keep my database clean between my scenarios?
- How can i run Redis raw commands in Java Lettuce?
- How can I use lettuce in my Django project, within Eclipse?
- How to run Scenario Outline in PyCharm 4 with Lettuce runner
- Background in lettuce, django
- AttributeError: 'thread._local' object has no attribute 'browser'
- Connection refused: localhost/127.0.0.1 when I use spring boot and lettuce in a RaspberryPi
- springboot Unboxing of redisTemplate. may produce NullPointerException
- Is there any way to use same epoll thread for spring webflux and lettuce
- Lettuce can't connect to Redis Cluster using SSL but can connect to same Redis server using SSL by treating it as a Standalone node
- Spring boot + lettuce connection retry mechanism for "Connection reset by peer"
- RedisStaticMasterReplicaConfiguration does not support Pub/Sub because of missing Pub/Sub message propagation across individual servers
- Lettuce django integration
- Lettuce/Selenium removing newly created DOM elements
- Error adding 'import lettuce' on PyCharm
Related Questions in SPRING-DATA-REDIS-REACTIVE
- How to create Empty redis stream?
- Redis Stream Producer Delivery Order
- add module "spring integration redis" which print out "XXX is not eligible for getting processed by all BeanPostProcessors
- ReactiveRedisOperations not saving object in Redis
- How to continuosly listen on redis stream using lettuce java library
- Redis Pipeline using spring data redis reactive
- async support missing in reactive redis connection
- Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException using ReactiveRedisTemplate
- ReactiveRedisTemplate Cache Miss
- Spring Data Redis Operation key type
- How to use Redis cache to cache the Object using spring boot webflux framework having mongodb as datasource
- ReactiveRedisTemplate List Operations - set Expire and TTL
- Chaining reactive calls to redis in Spring
- Is XClaim / claim supported in redis spring data - ReactiveRedisOperations.opsForStream()
- Usage of elapsed() function work on Mono?
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)
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?
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