r/softwarearchitecture • • 16h ago

Tool/Product Event-driven (choreography) java framework for monolith/microservices

I am working on the framework that helps building event-driven java application. I am still working on edge cases. Here is the gist: https://gist.github.com/mananvpanchal/25aeb37b04da7399adbcde2b251e0bc5

I will appreciate if you spare some time to read it. Please, let me know if I am on right path or wrong.

Thanks

3 Upvotes

2 comments sorted by

2

u/alwaystrueclimber 16h ago

looks like you're putting real thought into keeping the event flow readable, which is where most of these frameworks turn into spaghetti. the typed event classes are a nice touch, hate when everything degrades into raw string maps.

curious how you're planning to handle retries and dead letters though, that's usually where the choreography model gets painful fast.

1

u/mananvpanchal 16h ago

Thanks for reading! I provide facility to retry exact processor with correlation id.  I am thinking that framework should not decide when, how and how many times it should be retried, that I want to be decided by application. Same way, I provide facility to fetch dead letters but I dont want it to be decided by framework when to re-emit