Current state: "Under Discussion"
Discussion thread: here
JIRA: here
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
There are no official tools available to measure the performance of aborted transactions. The ProducerPerformance tool currently supports transactional producers but lacks the ability to randomly abort transactions during testing. This limitation prevents users from properly evaluating how transactional producers behave when transactions are aborted, which is important for production systems where transaction failures can occur.
The ability to test aborted transactions is crucial for:
New Configuration Option:
--transaction-abort-ratio: Ratio of transactions to abort (0.0 to 1.0). Default is 0.0 (no aborts).
This feature will add a new configuration option to the ProducerPerformance tool that allows users to specify a ratio of transactions to abort during testing. This will enable users to simulate transaction failure scenarios while measuring performance metrics.
This feature is fully backward compatible:
The patch will include unit tests to ensure full coverage:
None