Monitoring Message Replay

Applicable show commands

The following table lists Solace CLI show commands that can be useful in monitoring Message Replay.

Message Replay Related show Commands

Command

Description

show replay-log

Displays the number of messages logged, the space consumed by those messages, the value set for max-spool-usage, and the ingress and egress states. Further details are shown in show replay-log.

show queue replay-state

Displays all queues in a user specified replay-state.

show queue replay Displays replay state, last replayed message time, last replay start time, last replay complete time, last replay failure time, and last replay failure reason.
show queue stats Displays number of replays initiated, replays succeeded, replays failed, messages replayed, and replayed messages acked.

show topic-endpoint replay-state

Displays all topic-endpoints in a user specified replay-state.

show topic-endpoint replay Displays replay state, last replayed message time, last replay start time, last replay complete time, last replay failure time, and last replay failure reason.
show topic-endpoint stats Displays number of replays initiated, replays succeeded, replays failed, messages replayed, and replayed messages acked.
show message-spool stats Displays message-spool processing statistics and associated message replay processing statistics.
show message-spool message-vpn stats Displays message-spool processing statistics for a specified Message VPN and associated message replay processing statistics.

For a detailed description of the above commands, refer to the CLI Command Reference.

Queues

In order to store all the logged messages, two queues, #REPLAY_LOG_<replay-log-name> and #REPLAY_TOPICS_<replay-log-name>, are created on every Message VPN that has a replay log.

  • #REPLAY_LOG_<replay-log-name>
    • Holds all the logged messages.
    • Messages in this queue are counted towards the Message VPN quota.

  • #REPLAY_TOPICS_<replay-log-name>
    • Holds metadata about the logged messages (message ID, time spooled, topic string).
    • Its contents are counted towards the Message VPN quota.

These queues can't be configured through the usual CLI commands associated with queue configuration.

show replay-log

For the replay logs identified in the show replay-log command you can display: the number of messages logged, the space consumed by those messages, the value set for max-spool-usage, and the ingress and egress states.

solace> show replay-log <replay-log-name>|* [message-vpn <vpn-name>|*]

Where:

<replay-log-name> - is the name of the message replay log.

<vpn-name> - is the name of the Message VPN.