Receive
Receive a message from 'commands' channel command

Synopsis

Receive (Subscribe) command allows to consume a message from 'commands' channel and response with appropriate reply
1
kubemqctl commands receive [flags]
Copied!

Examples

1
# Receive commands from a 'commands' channel (blocks until next message)
2
kubemqctl commands receive some-channel
3
4
# Receive commands from a 'commands' channel with group (blocks until next message)
5
kubemqctl commands receive some-channel -g G1
Copied!

Options

1
-a, --auto-response set auto response executed command for each command received
2
-g, --group string set 'commands' channel consumer group (load balancing)
3
-h, --help help for receive
Copied!

Options inherited from parent commands

1
--config string set kubemqctl configuration file (default "./.kubemqctl.yaml")
Copied!
Last modified 1yr ago