Open BryanDollery opened 1 year ago
I have encountered the same issue, possibly there is some issue in your producer/consumer config. In my case given topic was not created.
one query => are producer/consumer methods work async or sync?
My methods are all async, but the lib uses callbacks. With this test code, I create the topic manually, otherwise I get a different error.
I'm trying to work with transactions so that I can consume a message and publish new messages in response, all in a single tx. I get an error when I try to init the transaction, and an error when I try to start the tx. Unfortunately, there isn't much in the way of useful info in the error messages, other than:
Environment Information
code Sorry, this is quite long:
My package.json only has dependencies on
node-rdkafka
,uuid
, and"@bryandollery/simple-logging": "^2.1.0"
and, I run it withyarn test
.I use the vscode plugin "Tools for Apache Kafka" to test this with the following file:
Startup gives me this output:
And, sending the message adds this output: