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
RangeError: offset is not uint
at checkOffset (index.js?b639:1097)
at Uint8Array.readUInt32BE (index.js?b639:1157)
at module.exports (index.js?1a56:22)
at module.exports (index.js?86bd:21)
at Client.producer (index.js?0336:56)
at _callee2$ (KafkaClient.vue?f8d9:31)
at tryCatch (runtime.js?96cf:62)
at Generator.invoke [as _invoke] (runtime.js?96cf:288)
at Generator.prototype.(:8080/anonymous function) [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:114:21)
at asyncGeneratorStep (asyncToGenerator.js?3b8d:5)
The text was updated successfully, but these errors were encountered:
KafkaJS doesn't support the browser as a runtime environment at the moment. It is intended to be used with NodeJS. #300 fixes the specific issue you ran into, but even using the latest master, you won't be able to connect to Kafka from the browser, as the browser lacks the ability to open raw TCP sockets, which is what's used to communicate with Kafka.
It's something I'm working on, but it won't be available for at least a few weeks.
I am getting the error
RangeError: offset is not uint
from the example code. Any ideas?The text was updated successfully, but these errors were encountered: