kafka server: The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing #2915
Labels
stale
Issues and pull requests without any recent activity
Description
Using a simple HTTP API where I send many requests in a loop. I create a new producer for each HTTP request using a new UUID just for the sake of testing purposes. Expecting that each producer would work because they all have unique TXN id. But it fails with data race and errors.
I am posting the full example so you can try it yourself. Also look at the logs please.
Versions
Configuration
Run it with
$ go run -race main.go
.Logs
logs: CLICK ME
Additional Context
I use https://k6.io/ (install) to send requests using script below if you want to use it.
The text was updated successfully, but these errors were encountered: