-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventListener in DelegatingEventExternalizer could not be created #973
Comments
Can you provide a reproducer for the exception? I wonder what triggers the proxy creation for |
Hi! Thanks for having a look. I was able to minimise and clean up our project so that it's just enough to reproduce the issue, please see the attached zip. |
I wanted to provide an update and seek some guidance. As our project has grown and we've incorporated modulith-starter-mongodb, we've noticed some changes in behavior:
These issues, along with others we've encountered, are making it challenging to fully leverage Modulith in our project. I've tried to isolate the problems but haven't identified any clear conflicts in dependencies or configuration. I recognize that the issue tracker might not be the ideal place for broader discussions, but I'm unsure where else to turn for comprehensive support on Modulith. Are there any resources or channels you'd recommend for discussing overall experiences and troubleshooting? Additionally, are there any known incompatibilities or common configuration pitfalls that might explain the behaviors we're seeing? I'd be happy to provide more detailed information or a comprehensive test case if that would be helpful. Lastly, given that my team is growing concerned about the challenges we're facing with Modulith, any insights or suggestions would be greatly appreciated. Thank you for your time and assistance. |
I am unable to run the example project. After adding execution permissions to
Looking at the source code, I don't understand how it's supposed to reproduce any of the things you report here. The project doesn't use the event publication registry and there's no code whatsoever actually triggering any events. Can you please provide a sample project and ideally a single command I need to run to reproduce the alleged misbehavior? Unless the problems are tied to Kotlin and/or Gradle, I'd prefer a Java- and Maven-based project, as then, both Kotlin and Gradle can be ruled out as the source of any problem. |
When using Spring Modulith 1.2.5 (starter + events-core + events-kafka) with Spring Boot 3.3.5, the auto-configured DelegatingEventExternalizer instance 'kafkaEventExternalizer' appears to be created as a JdkProxy, which the EventListenerMethodProcessor can not find the
@ApplicationModuleListener
annotated method on, resulting in the following stacktrace:I'll be glad to provide additional details as required!
This might very well be user error and not an actual bug, especially since this is the first interaction any of our team has had with Spring Modulith - but I could not find anything out of place. My apologies in advance
The text was updated successfully, but these errors were encountered: