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

starting node sample on windows #55

Open
jpeckham opened this issue Jan 5, 2020 · 0 comments
Open

starting node sample on windows #55

jpeckham opened this issue Jan 5, 2020 · 0 comments

Comments

@jpeckham
Copy link

jpeckham commented Jan 5, 2020

https://github.com/ibm-messaging/event-streams-samples/blob/master/kafka-nodejs-console-sample/docs/Docker_Local.md instructions aren't working for windows

in dos command line you have to be single line and escape quotes. I don't think single tick worked:

SET VCAP_SERVICES = "{ "instance_id": "...", "mqlight_lookup_url": "...", "api_key": "...","kafka_admin_url": "....","kafka_rest_url": "...","kafka_brokers_sasl": [ ... ],"user": "...",
"password": "..."}"

interpolating env variable is different
docker run -e VCAP_SERVICES="%VCAP_SERVICES%" nodejs-console-sample

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

No branches or pull requests

1 participant