Closed abrkn closed 4 months ago
Hi @abrkn, typescript definitions of the KafkaJS types are broken right now ( #31 ). I do plan to fix it within the EA. I'll add an example for it, too.
Thanks, let me know if you need help. Would love to migrate away from KafkaJS
I added the examples and fixed the types. I've not created a release yet with the fixes, but if you want to try it out before that you can install it from GitHub too (npm install "git+https://git@github.com/confluentinc/confluent-kafka-javascript.git"
)
I added the examples and fixed the types. I've not created a release yet with the fixes, but if you want to try it out before that you can install it from GitHub too (
npm install "git+https://git@github.com/confluentinc/confluent-kafka-javascript.git"
)
Appreciate the update. I'll wait for the release
I've made a release v0.1.12-devel, it's available on npm. You can use that to try.
Closing this as the typing are working and an example is added in the release.
I'm not understanding how to construct an instance of
KafkaJS.Kafka
sinceKafkaJS
is exported as atype
and not a namespace. Are there any examples of this?