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

pulsarctl does not have a way to view messages from a partitioned topic #1623

Open
dmonopoly opened this issue Oct 15, 2024 · 0 comments
Open

Comments

@dmonopoly
Copy link

dmonopoly commented Oct 15, 2024

If I try

pulsarctl subscriptions peek my-topic-name my-subscription-name

for a partition topic, I get

code: 405 reason: Peek messages on a partitioned topic is not allowed

And specifying a more specific partition with

pulsarctl subscriptions peek my-topic-name-partition-0 my-subscription-name

just yields code: 404 reason: Message not found

My interest is in seeing the publishTime and eventTime values for many messages between 2 particular timestamp ranges.

kafkactl has a way to view messages like this, across partitions, without issue:

kafkactl consume my-topic --from-timestamp 1727896337000 --to-timestamp 1727896437000 --print-timestamps

If there is a better way to do this, please let me know.

@dmonopoly dmonopoly changed the title pulsarctl does not have a way to view messages from a partitioned topic or view between 2 timestamp ranges pulsarctl does not have a way to view messages from a partitioned topic Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant