Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proxy examples] Is there someway to extract the standard arguments so each sample block only actually shows the important bit. #512

Open
k-wall opened this issue Sep 11, 2024 · 0 comments

Comments

@k-wall
Copy link
Collaborator

k-wall commented Sep 11, 2024

In the Proxy examples, these quite a lot of eye bleed in the 'on-cluster' scripting. It is hard to see the wheat from the chaff.

          Is there someway to extract the standard arguments so each sample block only actually shows the important bit.
export OC_ARGS="-n kafka-proxy proxy-consumer -qi --image=registry.redhat.io/amq-streams/kafka-37-rhel9:2.7.0 --rm=true --restart=Never"
export CONSUMER_ARGS=" --bootstrap-server proxy-service:9092  --from-beginning --timeout-ms 10000"
oc run ${OC_ARGS} -- ./bin/kafka-console-consumer.sh --topic people ${CONSUMER_ARGS}

Originally posted by @SamBarker in #504 (comment)

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

No branches or pull requests

1 participant