Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transaction coordinator client cann't reconnect to the broker (#1237
) Fixes #1227 ### Motivation There are some issues with the `transactionCoordinatorClient` in the go client. When using the transaction, if there are any reconnection happens during the transaction operation. The connection to the transaction coordinator won't be reconnected. This causes all following operations to fail with the `connection closed` error. ### Modifications - Introduced `transactionHandler` to manage reconnections and handle requests. - Fix the tc client would crash if the broker doesn't enable the transaction - Improved the error handling in the tc client.
- Loading branch information