Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Parameterized push job commands #215

Open
AnamikaN opened this issue Apr 22, 2020 · 0 comments
Open

Parameterized push job commands #215

AnamikaN opened this issue Apr 22, 2020 · 0 comments

Comments

@AnamikaN
Copy link

AnamikaN commented Apr 22, 2020

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}"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant