On Incoming Replication Connections
AMPS includes a set of modules that allow you to configure an action to run based on events for incoming replication connections.
The amps-action-on-connect-incoming-replication
module runs when an incoming replication connection is accepted. The amps-action-on-disconnect-incoming-replication
module runs when an incoming replication connection is disconnected.
These modules require no parameters.
These modules add the following variables to the AMPS context:
Variable | Description |
---|---|
| The instance name of the AMPS instance on the opposite end of the connection, if available. |
| The name of the AMPS client used for this connection. |
| The remote address of the opposite end of the connection. |
| The group name of the AMPS instance on the opposite end of the connection, if available. |
Last updated