dajiaohuang opened a new pull request, #163:
URL: https://github.com/apache/rocketmq-client-python/pull/163

   ## What changed
   
   `TransactionMQProducer.__init__` no longer invokes `Producer.__init__`. The 
transaction constructor creates its own native transaction-producer handle and 
applies its options afterward; invoking the base constructor first created a 
second native producer whose handle was discarded, and passed the transaction 
options into mismatched positional parameters.
   
   Closes/addresses https://github.com/apache/rocketmq/issues/11492.
   
   ## Verification
   
   - `py -3.13 -S tests/test_transaction_producer_options.py` — 2 offline 
recording-FFI regression tests passed. The test fails on the original code and 
verifies only the transaction handle is allocated and options target it.
   - `git diff --check` — passed.
   - Full existing tests/integration were not run: the project documents 
Linux/macOS support and requires the native `librocketmq` plus a broker at 
`127.0.0.1:9876`. No unsupported platform setup, native service, or broker was 
used.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to