Holger Rauch created KAFKA-5923: ----------------------------------- Summary: Output generated by kafka_acls, kafka_topics. kafka_topics should be easily usable in a pipe Key: KAFKA-5923 URL: https://issues.apache.org/jira/browse/KAFKA-5923 Project: Kafka Issue Type: New Feature Components: tools Affects Versions: 0.11.0.0 Environment: Linux Reporter: Holger Rauch Priority: Minor
The output produced by {{kafka_topics}}, {{kafka_acls}}, and {{kafka_configs}} (or rather, their corresponding, underlying classes) should be suitable for use in a pipe (e.g. to be piped into {{grep}} when these commands are used in an Ansible playbook/role). AFAIK, the current implementations produce free form text. Using that inside a grep can be error prone IMHO (especially in case the output should change from one release to the next). A more reliable approach would be to provide a cmd line switch to enable machine parseable output suitable for use in pipes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)