Closed
Description
Am in the process of testing PR #42 as a fix for Issue #5, and ran into this:
const Kafka = require('node-rdkafka');
const producer = new Kafka.Producer({
'metadata.broker.list': 'localhost:9092',
});
producer.connect(undefined, () => {
producer.produce({
topic: 'test',
message: '{"f": 1}'
});
});
nodejs: ../node_modules/nan/nan_object_wrap.h:33: static T* Nan::ObjectWrap::Unwrap(v8::Local<v8::Object>) [with T = NodeKafka::Topic]: Assertion `object->InternalFieldCount() > 0' failed.
Aborted (core dumped)
node-rdkafka compiled at commit 62e53c22cafe93b9697fc9ff6fc0daa7c2670da2
.