activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1235) Support the ability to enable queue and address deletion when broker.xml changes
Date Wed, 21 Jun 2017 20:23:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058128#comment-16058128
] 

ASF GitHub Bot commented on ARTEMIS-1235:
-----------------------------------------

GitHub user michaelandrepearce reopened a pull request:

    https://github.com/apache/activemq-artemis/pull/1345

    ARTEMIS-1235 Support queue and address deletion when broker.xml changes

    Ensure default is that still deletion is not done, it is opt in only.
    Add extra configuration to address-settings to be able to control / enable address/queue
deletion by pattern, rather than a global toggle.
    Add support in the reload logic to remove address and/or queues if the address matches
an address setting, where it is enabled.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelandrepearce/activemq-artemis ARTEMIS-1235

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1345.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1345
    
----
commit ece09d179a4288bd62d45a86144b1ffbfb1361da
Author: Michael Andre Pearce <michael.andre.pearce@me.com>
Date:   2017-06-17T05:43:02Z

    ARTEMIS-1235 Support the ability to enable queue and address deletion when broker.xml
changes
    
    Add extra configuration to address-settings to be able to control / enable address/queue
deletion by pattern, rather than a global toggle.
    Add support in the reload logic to remove address and/or queues if the address matches
an address setting, where it is enabled.

----


> Support the ability to enable queue and address deletion when broker.xml changes
> --------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1235
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1235
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>            Reporter: Michael Andre Pearce
>
> Currently on config reload, as per:
> https://activemq.apache.org/artemis/docs/2.1.0/config-reload.html
> Once the configuration file is changed (broker.xml) the following modules will be reloaded
automatically:
> Address Settings
> Security Settings
> Diverts
> Addresses & queues
> Notice: Address & queues won't be removed upon reload, given the risk of losing messages.
You may execute explicit CLI or Management operations to remove destinations.
> Where an organisation uses tools like puppet or chef and need to fully change manage
the broker they need an ability to delete queues and topics also via the config, as these
tools control state of systems by config. Like wise in these scenario's where such tools are
used to control state of a system typically an organisation will have controls and pre-prod
environments where they push config through the environments as such risk of issue is removed
re data loss / or accepted risk, as would have been pre-validated in non-ciritical non-prod
envs.
> The default behaviour should be as is today (e.g. delete still doesn't occur), but an
optional toggle so that queue's and address's are sync'd removed inline with the broker xml.

> Ideally it should be possible to toggle this ability by address pattern so if some address's
you don't wish controlled this way and others you do, this should be possible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message