Monitoring Message Replay
Applicable show commands
The following table lists Solace CLI show
commands that can be useful in monitoring Message Replay.
Command | Description |
---|---|
|
Displays the number of messages logged, the space consumed by those messages, the value set for |
|
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. |
|
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 <name> [message-vpn <vpn-name>] [messages [oldest | newest] [msg-id <msg-id> | replication-group-msg-id <replication-group-msg-id> | priority <priority>] [detail] | topic-filters] [count <num-elements>]
Where:
<name>
- is the name of the message replay log.
<vpn-name>
- is the name of the Message VPN.
messages
- specifies to show information on the messages associated with the replay log.
oldest
- specifies to show the messages in the replay log in order from oldest to newest.
newest
- specifies to show messages in the replay log in order from newest to oldest.
msg-id <msg-id>
- specifies to show the messages in the replay log starting from the message identifier number specified by <msg-id>
.
replication-group-msg-id <replication-group-msg-id>
- specifies to show the messages in the replay log starting from the replication group message ID specified by <replication-group-msg-id>
.
priority <priority>
- specifies to show only the messages in the replay log with the priority specified by <priority>
. Valid values are 0 through 9.
topic-filters
- specifies to show subscriptions associated with the replay log.
count <num-elements>
- specifies the number of display elements to show. Valid values are 1 through 4294967295.