[jira] [Commented] (AMQ-9484) Support exporting kahadb messages from a queue with an offset

2024-04-23 Thread Matt Pavlovich (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17840162#comment-17840162
 ] 

Matt Pavlovich commented on AMQ-9484:
-

[~cshannon] I updated the description to provide more details.

Also note, this method is currently additive, and does not impact the existing 
recoverNextMessages method. In the future, it could be consolidated into an 
overload style where the current method is always passing in 0 as the offset 
into the new method.

> Support exporting kahadb messages from a queue with an offset
> -
>
> Key: AMQ-9484
> URL: https://issues.apache.org/jira/browse/AMQ-9484
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0, 5.18.5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Support exporting and pulling messages from a MessageStore with an offset, to 
> prevent loading _every_ message into memory (and subsequent required gc). 
> For example, if a user wants to export the last message from a queue with 
> 1,000 messages, they can scan over the index skipping most messages vs 
> loading all messages into memory to get to the last message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (AMQ-9484) Support exporting kahadb messages from a queue with an offset

2024-04-23 Thread Christopher L. Shannon (Jira)


[ 
https://issues.apache.org/jira/browse/AMQ-9484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17840160#comment-17840160
 ] 

Christopher L. Shannon commented on AMQ-9484:
-

What is the use case for this and what are you trying to accomplish here and 
why?

This is the kind of thing that needs a sufficient amount of detail to explain 
why we should make a change like this as this is not trivial.

> Support exporting kahadb messages from a queue with an offset
> -
>
> Key: AMQ-9484
> URL: https://issues.apache.org/jira/browse/AMQ-9484
> Project: ActiveMQ Classic
>  Issue Type: New Feature
>Reporter: Matt Pavlovich
>Assignee: Matt Pavlovich
>Priority: Minor
> Fix For: 6.2.0, 5.18.5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)