Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple events in 1 transaction #171
You should not use this way to send a message for testing because the transaction is not committed, which may result in failure to get the message when changing the state of the message.
The correct way is to use a concurrent test tool, such as
There is no such restriction, strictly speaking, it depends on the execution time of your transaction.
We recommend using broadcast mode when you need to send multiple events. In our project, we have almost no need to send multiple events in a transaction operation.