Visit Azul.com Support

Set-Eventbus-Notifier-Configuration

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

Configures the settings of the Event Bus notifier

Synopsis

 
asadmin [asadmin-options] set-eventbus-notifier-configuration [--help] [--target target] [--enabled={false|true}] [--dynamic={false|true}] [--filter={INFO|WARNING|SEVERE}] [--topicName topicName]

Description

This command can be used to configure the behaviour of the EventBus notifier in Payara Server.

Note
The Data Grid must be enabled for the Event Bus to be available.

Options

asadmin-options: Options for the asadmin utility. For information about these options, see the asadmin help page. --help: -?: Displays the help text for the subcommand. --target: This option helps specify the target on which you are configuring the Event Bus notifier. Valid values are:
server;; Applies to the default server instance. This is the default value. cluster_name;; Applies to every server instance in the cluster. instance_name;; Applies to a specified server instance. --enabled: Defaults to false. Enables or disables the notifier. --dynamic: Defaults to false. When set to true, applies the changes without a server restart.

+ Otherwise, a restart is required. --filter: Defaults to WARNING. The notifier only responds to events at or above this level. (INFO, WARNING, SEVERE) --topicName: Defines the name of the internal Hazelcast distributed topic which will be used by the event bus to subscribe to notification events.

Examples

Example 1 Enable the Event Bus notifier and set its topic

 
asadmin set-eventbus-notifier-configuration --topicName=testTopic --dynamic=true --enabled=true

Exit Status

0: subcommand executed successfully 1: error in executing the subcommand

See Also