Home > @imqueue/core > UDPClusterManagerOptions

UDPClusterManagerOptions interface

Signature:

export interface UDPClusterManagerOptions 

Properties

Property

Modifiers

Type

Description

address

string

Message queue broadcast address

{number}

aliveTimeoutCorrection

number

Message queue alive timeout correction. Used to correct waiting time to check if the server is alive

5000 {number}

handleSignals

boolean

Enable process signal handling (SIGTERM, SIGINT, SIGABRT) by the manager. When enabled, the manager stops its UDP workers on these signals and then re-raises the signal, so the process terminates through the default signal behavior. Disable if the host application manages its own shutdown sequence.

true {boolean}

limitedAddress?

string

(Optional) Message-queue-limited broadcast address

"255.255.255.255" {string}

logger

ILogger

Logger used for worker supervision messages

console {ILogger}

port

number

Message queue broadcast port

63000 {number}

useAliveCheck

boolean

Message queue alive-server check flag. If set to false, the server will not be checked for liveness on each broadcast message with a timeout. Can be specified by the environment variable if the given option is not bypassed: IMQ_UDP_CLUSTER_MANAGER_ALIVE_CHECK

true {boolean}