Skip to content

How to set maxDiskUsage on Broker #831

Answered by brusdev
eanbiso asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @eanbiso, your example is quite correct and it is the only way to set the property maxDiskUsage. The broker properties doesn't affect the broker xml, you can double-check the maxDiskUsage property value querying the jolokia api, i.e.

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: amq-broker
spec:
  brokerProperties:
    - maxDiskUsage=95
curl -u admin:admin 'http://amq-broker-ss-0:8161/console/jolokia/read/org.apache.activemq.artemis:broker="amq-broker"/MaxDiskUsage'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eanbiso
Comment options

Answer selected by eanbiso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants