Conversation
|
First and foremost, I want to commend the effort to providing a Micronaut integration for Axon Framework 5, @KDanisme! This is not just a simple contribution, but a rather massive feature. With that said, we can definitely start a conversation on how to approach the integration between Axon Framework 5 and Micronaut. I do want to point out that your PR is extremely large. The Framework team has quite a lot of tasks on their plate with frequent context switching. I do have a rough breakdown suggestion for this which may help:
|
|
Hi @smcvb The main issue/question I had was the autoconfiguration matter. I don't really have experience in spring, but from the way the packages are built I understand you have a package for the implementation(extension) and a package for the configuration(autoconfiguration). But, This can be mimicked using So I could go on to making an autoconfiguration module, but its quite an anti-pattern. Are there any implications for creating a single package which does both? There are alternatives such as package-info level property that can be set to disable all autoconfiguration, that is also common practive. |
If Micronaut views autoconfiguration as an anti pattern, then the answer is easy: we do not have a Micronaut autoconfiguration package. That said, I thus lack a lot of internals on how Micronaut does XYZ. Could you, perhaps, set up a call with me so we can go through the typical approach? |
This is a draft for a micronaut support.
The code is NOT ready yet.
Im creating this PR for visibility and possible general feedback
I should be able to finish this up (make tests pass) in about a week.
There are some qustions of code/interface deduplications which I will raise in a few days.
Really looking forward for this!