Open AnamikaN opened 4 years ago
is there a way, we can use push job to run parameterized command? for example , i have added below command in push-job whitelist. is there a way to substitue topic_name when we start the job?
"kafka_under_replicated_partitions_for_topic": "sudo /opt/kafka/bin/kafka-topics --zookeeper $(sudo grep zookeeper.connect /opt/kafka/config/server.properties|cut -f2 -d"=") --describe --under-replicated-partitions --topic ${topic_name}"
is there a way, we can use push job to run parameterized command? for example , i have added below command in push-job whitelist. is there a way to substitue topic_name when we start the job?
"kafka_under_replicated_partitions_for_topic": "sudo /opt/kafka/bin/kafka-topics --zookeeper $(sudo grep zookeeper.connect /opt/kafka/config/server.properties|cut -f2 -d"=") --describe --under-replicated-partitions --topic ${topic_name}"