event-streams-samples icon indicating copy to clipboard operation
event-streams-samples copied to clipboard

starting node sample on windows

Open jpeckham opened this issue 5 years ago • 0 comments

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

jpeckham avatar Jan 05 '20 15:01 jpeckham