You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
zk.get( path, function (err, value, zstat) { console.log('the current value is ', value.toString()) } )
Fails with error
Tue, 02 Feb 2016 12:50:30 GMT nodezk:server Listening on port 3000
connected localhost:2181
draining 1 messages
assert.js:92
throw new assert.AssertionError({
^
AssertionError: number too small
at toDouble (/home/wconnor/src/nodezk/node_modules/zkjs/node_modules/int53/index.js:49:3)
at Object.int53.readInt64BE (/home/wconnor/src/nodezk/node_modules/zkjs/node_modules/int53/index.js:62:9)
at Function.ZnodeStat.parse (/home/wconnor/src/nodezk/node_modules/zkjs/protocol/znode-stat.js:21:29)
at GetDataResponse.parse (/home/wconnor/src/nodezk/node_modules/zkjs/protocol/get-data.js:32:30)
at Receiver.read (/home/wconnor/src/nodezk/node_modules/zkjs/receiver.js:91:16)
at Receiver.streamReadable (/home/wconnor/src/nodezk/node_modules/zkjs/receiver.js:112:8)
at Client.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
Simple call to get method returns error
zk.get( path, function (err, value, zstat) { console.log('the current value is ', value.toString()) } )
Fails with error
Seems to be highlighted in this SO issue as well
http://stackoverflow.com/questions/34019882/read-from-kafka-using-node-and-franz-kafka-module
Note that it works for root '/' but not for anything else
The text was updated successfully, but these errors were encountered: