amazon-kinesis-client-nodejs
amazon-kinesis-client-nodejs copied to clipboard
Unable to run the consumer sample
I tried to run the kinesis click_stream_sample, the producer is working fine but the consumer has an issue.
The issue is that when I'm trying to run the command kcl-bootstrap <javapath> -e -p ./sample.properties
I got this error: ERROR: Valid --java value is required or alternatively JAVA_HOME environment variable must be set.
although I put the <javapath>
with the my java path and also put JAVA_HOME
in system variables so I can't determine why I have that problem till now.
Note: I'm trying this sample locally on my machine with Windows-10
@pfifer
Did you ever figure this out? Where you providing --java
before your javapath?
Its work to me: ../../../bin/kcl-bootstrap /usr/bin/java -e -p sample.properties