The messages published within a batch at the point the connection failsover appear to be replayed outside of any transaction.
Steps to Reproduce:
1. start transactional session on failover enabled connection
2. send batches of messages in transactions
3. kill the cluster node the client is connected to, to trigger failover mid
This happens due to the lower layer replaying unacked messages upon resuming the connection.
Message replay should not happen on a transacted session as there is no benefit of doing so.