[
https://issues.apache.org/jira/browse/ARTEMIS-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956047#comment-17956047
]
Grzegorz Grzybek commented on ARTEMIS-5424:
-------------------------------------------
Here are some comments from my side (I try to represent Jolokia devs):
Artemis Hawtio Console plugin provides own MBean operation to get the queues
and displays them in
[AddressesTable|https://github.com/apache/activemq-artemis-console/blob/main/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/addresses/AddressesTable.tsx]
.
This table uses special
[listAddresses(java.lang.String,int,int)|https://github.com/apache/activemq-artemis-console/blob/3219c23bbf718873c501a896012c1c0136625ff0/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/artemis-service.ts#L398]
MBean operation on broker MBean ({{org.apache.activemq.artemis:broker=*}}).
Howver each address is also retrieved as individual MBean and if you have
thousands of these Jolokia is a bottleneck and it is not related to Hawtio
version at all.
We were tackling this issue since 2015:
https://issues.redhat.com/browse/ENTESB-4055
In Jolokia 2 it was handled with:
* https://github.com/jolokia/jolokia/issues/704 - New major Jolokia protocol
version planning (8.0)
* https://github.com/jolokia/jolokia/issues/564 - Additional JSON optimization
mode and {{listCache}} option.
However the fixes at Jolokia side require some _hooks_ (Jolokia extensions) to
be available at server side (at Artemis side). I didn't have time yet to
release something I called "Jolokia integration" which is a set of
Artemis-dedicated hooks to _optimize_ the response for generic Jolokia _list_
operation.
I will release it at some point in near future.
> Allow listing all items in tables
> ---------------------------------
>
> Key: ARTEMIS-5424
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5424
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: console-1.1.0
> Reporter: Gašper Čefarin
> Priority: Major
> Labels: pull-request-available
> Attachments: current.png, expected.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Allow listing all items (queues, addresses, ...) in tables instead of
> limiting the max items at 100.
> I wasn't able to find where these options (10,20,50,100) come from yet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact