Following this post I was able to connect our existing nodejs code into Kinesis logs (using KCL and MultiLangDaemon).
The problem is that I can't debug the code anymore. Since MultiLangDaemon uses STDIN/STDOUT to interact with executed "script", once I call "node --debug" and get the message:
"debugger listening on port 57846"
I get an error from the MultiLangDaemon saying:
"SEVERE: Received error line from subprocess [debugger listening on port 57846] for shard shardId-000000000000"
Thanks, Shushu
I got an answer in here, recommending to work with node inspector. After installing, all I had to do is to change the kinesis.properties executableName from "node" to "node-debug", and I got it working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With