awslabs / awslabs/amazon-kinesis-client-nodejs

Unable to run the consumer sample

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
304
Forks
198
Avg merge
36m
Merged PRs (30d)
2

Description

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 -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 `` 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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the exact kcl-bootstrap command with sample.properties on Windows 10, checking both the supplied Java path and JAVA_HOME. Trace how the command validates these values; done means the consumer sample starts without the reported Java validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, javascript, node.js
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.