Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 837 Bytes

kubemq_queues_peek.md

File metadata and controls

37 lines (23 loc) · 837 Bytes

kubemq queues peek

Queues peek a messages from a queue channel command

Synopsis

Queues peek command allows to peek one or many messages from a queue channel without removing them from the queue

kubemq queues peek [flags]

Examples


	# 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

Options

  -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)

SEE ALSO

Auto generated by spf13/cobra on 21-Aug-2021