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
It would be good if Writer supported Transactional API. Currently the only mention of Transactional in this library is Dialer's TransactionalID field.
I have tried to wire a custom kafka.Dialer with that field set into a custom kafka.Transport which is then wired into kafka.Writer, but it results in the following error on every write: [3] Unknown Topic Or Partition: the request is for a topic or partition that does not exist on this broker
Or just plain EOF sometimes.
Describe the solution you would like
It would be good if Writer supported Transactional API. Currently the only mention of Transactional in this library is
Dialer
'sTransactionalID
field.I have tried to wire a custom kafka.Dialer with that field set into a custom kafka.Transport which is then wired into kafka.Writer, but it results in the following error on every write:
[3] Unknown Topic Or Partition: the request is for a topic or partition that does not exist on this broker
Or just plain
EOF
sometimes.Here's the code snippet (not full program):
Here's how to alter this snippet to make the writer function correctly (comment out the custom dialer and TransactionalID with it):
sasl and tls have absolutely nothing to do with the problem.
So, how to use Transactional API with Writer?
Also, is this library maintained?
The text was updated successfully, but these errors were encountered: