Ask Your Question
0

Configure a stage parameter via cli

asked 2017-12-12 07:06:59 -0500

atajti gravatar image

updated 2017-12-13 11:22:20 -0500

metadaddy gravatar image

I use StreamSets Data Collector from a Docker image, which is connected to a Kafka Docker. I would like to set the Kafka broker via command line or variable, so when migrating the development image to the production server, one should not need to use the UI to set the broker UI.

For example, now Broker URI: localhost:9092, whereas the preferred version would be Broker URI: $kafka_broker, where $kafka_broker is a variable in the container.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-12-13 11:26:14 -0500

metadaddy gravatar image

You can set configuration parameters such as the Kafka Broker URI using Runtime Parameters of the form ${KAFKA_BROKER}. Runtime Parameters are then be defined in the pipeline, and can be assigned when the pipeline starts via the UI, CLI, or REST API.

edit flag offensive delete link more

Comments

Thanks, it eventually helped. I'd like to ask if there is an contributable help for the CLI other than this pdf[https://issues.streamsets.com/secure/attachment/12905/CLI_techreview.pdf]?

atajti gravatar imageatajti ( 2017-12-18 07:15:23 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-12 07:06:20 -0500

Seen: 267 times

Last updated: Dec 13 '17