Queues peek a messages from a queue channel command
Queues peek command allows to peek one or many messages from a queue channel without removing them from the queue
kubemq queues peek [flags]
# Peek 1 messages from a queue and wait for 2 seconds (default)
kubemq queue peek some-channel
# Peek 3 messages from a queue and wait for 5 seconds
kubemq queue peek some-channel -m 3 -w 5
-h, --help help for peek
-m, --messages int set how many messages we want to peek from queue (default 1)
-w, --wait int set how many seconds to wait for peeking queue messages (default 2)
- kubemq queues - Execute Kubemq 'queues' commands