Stacksaga Kafka Mysql Agent
stacksaga-kafka-agent-mysql-starter
stacksaga-kafka-agent-mysql-starter is one of the Stacksaga Kafka Agent implementations that for supporting Mysql based Orchestrator services for retrying the transactions in Kafka based microservices.
stacksaga-kafka-agent-mysql-starter is a ready to use dependency. so you can create your own spring boot project and add the stacksaga-kafka-agent-mysql-starter as a dependency and run your application with few configurations.
stacksaga-kafka-agent-mysql-starter internally uses runs with reactive model. so make sure to create your agent application as a WebFlux spring boot application.
|
Adding
stacksaga-kafka-agent-mysql-starter as a dependency<dependency>
<groupId>org.stacksaga</groupId>
<artifactId>stacksaga-kafka-agent-mysql-starter</artifactId>
<version>${org.stacksaga.version}</version>
</dependency>
After adding the dependency, update the configuration properties of the application as needed.
Transaction retrying with stacksaga-kafka-agent-mysql-starter
| If you are totally new to stacksaga-agent, read the Common approach of Stacksaga Agent article first. |
As mentioned there, the agent acquires a token range for retrying from the entire transaction set from the event store.