PulsarTemplate generic #567
jonas-grgt
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Often you want to use
PulsarTemplate
to publish different kind of messages, for that reason one autowires it asPulsarTemplate<?>
else you cannot use it to publish aUserMessage
and aClientMessage
at the same time. So what is the point of having a wildcard as generic?So my question is, do we really need to top-level generic? If not I would love to investigate how to get rid of it.
Beta Was this translation helpful? Give feedback.
All reactions