iasSendCmd
index
/home/fedora/ias/CommandsAndReplies/src/main/python/iasSendCmd.py

Send a command through the command kafka topic.
 
This script pushes a command in the topic and exits immediately.
It does not wait for the reception of the reply: if interested in the reception of a reply,
use a command like
> iasDumpKafkaTopic -t reply|jq
If it is the case, grep with the ID of the sender and/or the receiver to limit the
number of replies printed by the command.
 
LIMITATIONS:
  - the command does not support properties
  - the default identifier of the kafka broker is composed by the command, the name of the user and the host
    so it does not ensure 100% to be unique as requested by kafka: a parameter in the command line
    allows to pass a user defined

 
Modules
       
argparse
getpass
os
socket
sys

 
Functions
       
on_send_error(excp)