In that case, you still have no command or query gateway. Also, as it’s not advised to use Mongo as an event store, you likely want to add a relational database to the mix. So that comes down to adding the Axon Starter, disabling Axon Server, and adding the Mongo and Kafka extension. Maybe the Kafka example might be a good start. It is in Kotlin, not Java through. Alternatively there is a Mongo example, also in Kotlin.
when we use the last version that was mentioned before the question I get an Error.
“Consider defining a bean named ‘kafkaMessageSource’ in your configuration”.
my config in cusrumer:
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=accounts
You likely need something like this. Please note it’s important to differentiate ‘local’ events, the ones directly stored in an EventStore which are there forever. And ‘integration’ events which are sent via Kafka and might not be stored forever.
We have a big team working on Axon Serverless. and version 4.8.2, Java, Kafka, and MongoDB, but we can’t find an example that is correct or a tutorial that is correct and correct in Spring Boot on your site. And it took a long time to understand the issue
Do you have a source where we can use the axon with spring boot sooner?
I’m not sure what you are asking for. Do you have any issues still? By not using Axon Server some things are becoming more complicated. Especially when running multiple distributed applications. As such I don’t know what you mean with a correct example. All the bits and pieces should be there. And how you combine them very much depends on the kind of applications, and how you split them.
You are right, I implemented the correct example with your help, but it took too long.
I am sorry that we are taking so much of your time to solve the problem.
For example, now I want to use Tracking Tokens in a MongoDB serverless project, but the site is only a description.
I am really grateful to you