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
I am getting below error when decoding the message. let me know if you have seen this error before. What are the options to fix it?
{"level":"ERROR","timestamp":"2022-06-03T18:57:28.571Z","logger":"kafkajs","message":"[Runner] Error when calling eachMessage","topic":"flight.data","partition":3,"offset":"0","stack":"RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds\n at boundsError (internal/buffer.js:81:11)\n at Buffer.readInt32BE (internal/buffer.js:479:5)\n at Object.exports.default (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/@kafkajs/confluent-schema-registry/dist/wireDecoder.js:5:36)\n at SchemaRegistry.decode (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/@kafkajs/confluent-schema-registry/dist/SchemaRegistry.js:135:73)\n at Runner.eachMessage (/Users/e144489/Documents/devtools/kafka_nodejs_client/swa_consumer.js:49:43)\n at Runner.processEachMessage (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:191:20)\n at onBatch (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:393:20)\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:409:15\n at retry (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:43:5)\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:75:5","error":{"code":"ERR_BUFFER_OUT_OF_BOUNDS"}}
{"level":"ERROR","timestamp":"2022-06-03T18:57:33.762Z","logger":"kafkajs","message":"[Consumer] Crash: KafkaJSNonRetriableError: Attempt to access memory outside buffer bounds","groupId":"test-group2","stack":"KafkaJSNonRetriableError: Attempt to access memory outside buffer bounds\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:55:18\n at processTicksAndRejections (internal/process/task_queues.js:95:5)"}
The text was updated successfully, but these errors were encountered:
Hi,
I am getting below error when decoding the message. let me know if you have seen this error before. What are the options to fix it?
{"level":"ERROR","timestamp":"2022-06-03T18:57:28.571Z","logger":"kafkajs","message":"[Runner] Error when calling eachMessage","topic":"flight.data","partition":3,"offset":"0","stack":"RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds\n at boundsError (internal/buffer.js:81:11)\n at Buffer.readInt32BE (internal/buffer.js:479:5)\n at Object.exports.default (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/@kafkajs/confluent-schema-registry/dist/wireDecoder.js:5:36)\n at SchemaRegistry.decode (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/@kafkajs/confluent-schema-registry/dist/SchemaRegistry.js:135:73)\n at Runner.eachMessage (/Users/e144489/Documents/devtools/kafka_nodejs_client/swa_consumer.js:49:43)\n at Runner.processEachMessage (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:191:20)\n at onBatch (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:393:20)\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/consumer/runner.js:409:15\n at retry (/Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:43:5)\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:75:5","error":{"code":"ERR_BUFFER_OUT_OF_BOUNDS"}}
{"level":"ERROR","timestamp":"2022-06-03T18:57:33.762Z","logger":"kafkajs","message":"[Consumer] Crash: KafkaJSNonRetriableError: Attempt to access memory outside buffer bounds","groupId":"test-group2","stack":"KafkaJSNonRetriableError: Attempt to access memory outside buffer bounds\n at /Users/e144489/Documents/devtools/kafka_nodejs_client/node_modules/kafkajs/src/retry/index.js:55:18\n at processTicksAndRejections (internal/process/task_queues.js:95:5)"}
The text was updated successfully, but these errors were encountered: