You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement an easier way to get the topic information from consumed message #2007
After receiving the message, I would like to know the actual topic name which the incoming message is from. In this case, I would like to check if the message was from "test1" or "test2".
I suggest implementing an easier way of getting the topic information from the consuming message. It would be better if I could just call the msg.getTopicName(), or msg.getMessageId().getTopicName() without nasty casting.
Theoretically I could make PR myself with the adjustments I want, but I am not confident about the java library's internals at all.
Activity
Allow user to get topic from consumer message (apache#2007)
sijie commentedon Sep 19, 2018
This has been implemented and merged.
Allow user to get topic from consumer message (#2007) (#2135)