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 debugged this a little bit and found that it's because grok-js depends on the collections library, which replaces Array.from with an implementation that doesn't work with iterables. I would recommend dropping collections as a dependency.
Importing
grok-js
to an app with kafkajs will break kafkajs.await producer.send()
will fail and return an empty array.See minimal example here.
In this example, if const grok = require('grok-js'); is uncommented kafkajs will stop working.
Issue submitted to
kafkajs
here.The text was updated successfully, but these errors were encountered: