Skip to content
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

MessageData is useful when iterating through messages #22

Open
azymnis opened this issue Jun 16, 2017 · 2 comments
Open

MessageData is useful when iterating through messages #22

azymnis opened this issue Jun 16, 2017 · 2 comments
Assignees

Comments

@azymnis
Copy link

azymnis commented Jun 16, 2017

When iterating through all messages in a topic or for a given me, there seems to be no way to get the message timestamp. This seems to be a member of MessageData. Any way we could have access to that in the MessageHandler?

@pjreed
Copy link
Contributor

pjreed commented Jun 16, 2017

This would be useful, although digging into the code a bit, it will take a little bit of work to actually get that data available in the MessageHandler. I'll look into adding that.

@lukehutch
Copy link
Contributor

@azymnis see #45, I posted some code there that will get the header timestamp for you while iterating through all messages on a given topic or list of topics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants