You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Atuhwera Julian (Jira)" <ji...@apache.org> on 2021/10/10 23:32:00 UTC

[jira] [Comment Edited] (ARTEMIS-1146) Artemis ServerPlugin support for Broker state change

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

Atuhwera Julian edited comment on ARTEMIS-1146 at 10/10/21, 11:31 PM:
----------------------------------------------------------------------

Hi [~mattrpav]   am new here not so familiar with Artemis

but am interested in this issue would you please give pointers on how to go about this!


was (Author: julian256):
Hi [~mattrpav] am new here not so familiar with Artemis

but am interested in this issue would you please give pointers on how to go about this!

> Artemis ServerPlugin support for Broker state change
> ----------------------------------------------------
>
>                 Key: ARTEMIS-1146
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1146
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>            Reporter: Matt Pavlovich
>            Priority: Major
>
> Add support to plugins to hook into broker state change.
> Ideally, this would allow brokers to know if they are running as a master or slave at startup and provide signaling for when that state changes
> 5.x tree API had separate operations, perhaps a single method would make more sense and allow for any potential future changes?
>  brokerStateChange(... )
>     MASTER_BROKER, SLAVE_BROKER, REPLICATION STARTED/COMPLETED, GRACEFUL_SHUTDOWN, SCALE UP, SCALE DOWN, etc
>    



--
This message was sent by Atlassian Jira
(v8.3.4#803005)