kafka
kafka copied to clipboard
Improve behavior when using un-init-ialized objects
Not a bug.
I had forgot to call producer.init();
before trying producer.send(...);
, which fails.
An exception is raised but the cause is not obvious.
Maybe something like "hey numb-skull, you forgot to initialize ;-)".