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

[AMQ-9646] Support selecting specific messages for command line backup #1377

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mattrpav
Copy link
Contributor

@mattrpav mattrpav commented Jan 17, 2025

Example usage:

./bin/activemq backup --filename=backup.tar.gz --indexes=0,1,5,7,1000,1001     

@mattrpav mattrpav self-assigned this Jan 17, 2025
@mattrpav mattrpav requested a review from cshannon January 17, 2025 17:56
@jbonofre jbonofre self-requested a review January 20, 2025 15:14
@mattrpav mattrpav force-pushed the AMQ-9646 branch 2 times, most recently from ced0a71 to f9a55e4 Compare January 20, 2025 22:08
@cshannon
Copy link
Contributor

I don't really get the use case to be giving specific index values from the order index. How would people know what index to use for the messages they want?

It would seem much more beneficial to use something like message ids to find the messages to backup.

@mattrpav
Copy link
Contributor Author

@cshannon indexes are handy when performing surgery to get specific messages out (may already know position based on browse or console UI), or when a user wishes to get the last message off the queue.

MessageId based is a good idea, that has been added in the latest commit.

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

Successfully merging this pull request may close these issues.

2 participants