Send
Send messages to 'commands' channel command

Synopsis

Send command allow to send messages to 'commands' channel with an option to set command time-out
1
kubemqctl commands send [flags]
Copied!

Examples

1
# Send command to a 'commands' channel
2
kubemqctl commands send some-channel some-command
3
4
# Send command to a 'commands' channel with metadata
5
kubemqctl commands send some-channel some-message -m some-metadata
6
7
# Send command to a 'commands' channel with 120 seconds timeout
8
kubemqctl commands send some-channel some-message -o 120
Copied!

Options

1
-h, --help help for send
2
-m, --metadata string Set metadata message
3
-o, --timeout int Set command timeout (default 30)
Copied!

Options inherited from parent commands

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