Integration test example using Testcontainers, Spring Boot, MySQL, Kafka, Backbase events.
- Java 21+
- Maven
- Your favorite IDE
- A docker environment supported by testcontainers.
Let’s consider the following scenario: We have a product that will be stored in MySQL database. We are going to update it on a received event from Kafka.
To generate source event from json file: mvn jsonschema-events:events-generation -f pom.xml
Run example of the test file