-
Notifications
You must be signed in to change notification settings - Fork 1.2k
StreamOperations.map(…)
does not retain target type hint
#2198
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
Comments
StreamOperations.map(…)
cannot decode object records
There are two issues coming together. First, Second, |
StreamOperations.map(…)
cannot decode object recordsStreamOperations.map(…)
does not retain target type hint
I tried it, use |
Let's keep this one open as we still need to fix the type hint propagation. |
description
Today, when I read a message of type ObjectRecord from Redis Stream, the following exception occurred. I don't know how to solve it.
error info
core code
The code is very easy, that is, the producer generates an ObjectRecord type message, and then the consumer consumes the message.
The following is a complete example to reproduce this problem
https://github.com/huan1993/spring-data-redis-stream
The text was updated successfully, but these errors were encountered: