-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure the XTRIM or XADD #8592
Comments
The mentioned
The So, you probably have to go via Lettuce API directly in your code to perform an Please, consider to raise a GH issue in the https://github.com/spring-projects/spring-data-redis/issues to expose |
Thank you for your answer. I have another question: the producerConfig.java configures the topic, i.e. the stream key name. what if I want to send to another topic? All I can think of at the moment is to configure another ReactiveRedisStreamMessageHandler and FluxMessageChannel @bean? Is there a similar method: send(String topic, Message message). |
I'm not sure what do you see wrong with that
So, let's imaging your message you send to the input channel of this channel adapter has a header like That
I'm not sure where have you found that Please, note that GH issues are really for issues and features requests. |
Hi, I am using spring-integration for redis stream, but the data will be kept in memory all the time, resulting in more and more memory, how I configure XTRIM or XADD?
XADD mystream MAXLEN ~ 10 * value
XTRIM mystream MAXLEN ~ 10
1. producerConfig.java
2. producer.java
The text was updated successfully, but these errors were encountered: