codelipenghui commented on PR #17423:
URL: https://github.com/apache/pulsar/pull/17423#issuecomment-1240686557

   @nicoloboschi I see a transaction production user. They are using 
`TransactionImpl.checkIfOpen()` to do some checks when they using transactions. 
Otherwise, they can only do it by catching exceptions, but it's a bad 
experience. The ideal case is users don't need to care about the transaction 
state, just commit it or abort it. Always under some complex use cases, users 
depend on the state check (same as client.isConnected(); 
consumer.isConnected();)


-- 
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