When I am running TransactionPayloadIntegrationTest using:
MYSQL_VERSION=8.0 mvn test -Dtest=TransactionPayloadIntegrationTest command
it fails with message:
Should have captured TRANSACTION_PAYLOAD event expected [true] but found [false]
I added custom event listener to the test, that captures uncompressed TRANSACTION_PAYLOAD events and we can perform some validation on it.
Alternative way would be modifyingonEvent() method from CapturingEventListener to store also an original event of TRANSACTION_PAYLOAD type. But this would causes some kind of a duplication (TRANSACTION_PAYLOAD event and all uncompressed events)
I created a PR with the fix: PR 20
Please let me know WDYT.
When I am running
TransactionPayloadIntegrationTestusing:MYSQL_VERSION=8.0 mvn test -Dtest=TransactionPayloadIntegrationTestcommandit fails with message:
Should have captured TRANSACTION_PAYLOAD event expected [true] but found [false]
I added custom event listener to the test, that captures uncompressed TRANSACTION_PAYLOAD events and we can perform some validation on it.
Alternative way would be modifying
onEvent()method fromCapturingEventListenerto store also an original event of TRANSACTION_PAYLOAD type. But this would causes some kind of a duplication (TRANSACTION_PAYLOAD event and all uncompressed events)I created a PR with the fix: PR 20
Please let me know WDYT.