Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

'get' fails with error #17

Open
wesleyjconnor opened this issue Feb 2, 2016 · 0 comments
Open

'get' fails with error #17

wesleyjconnor opened this issue Feb 2, 2016 · 0 comments

Comments

@wesleyjconnor
Copy link

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

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)

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant