-
I read through this as well as the associated blog post, but for some reason, I still don't have a good understanding of how to integrate third party services into the fmodel architecture. I'm very new to the codebase and actually looking at ways to port the ideas to Python, so perhaps my issue is in translation. However, I've been looking at the Kotlin examples and I feel like it looks pretty straightforward. My bigger issue might be learning more about what Thanks so much for this content. It is very helpful. I think once I figure out where to put the non-pure code, I'll have a decent grasp of what is going on. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jriggins ! Thanks for your question. Fmodel libraries have been ported to: PythonOur friends from Holisticon are working on Python version (expect a lot more, very soon!): SagaManagerI admit, that docs on this topic can be better. I hope to change that soon. Till then, check the Kotlin Fmodel docs, by focusing on the EventSourced scenario (in which Saga Manager could be used). Saga Manager is not useful in the State Stored Scenario. Fmodel is not promoting Event-Driven architecture in the case of StateStored System. The reason for that is that Events are not API in this case. It is not something you will store durably, and it is only fair not to extend and promote the state-stored system into an Event-Driven system, within the Fmodel.
SagaManager is an event handler essentially. Very similar to MaterializedView. The difference is that Saga Manager uses ActionPublisher interface to
Check the example of PaymentSagaManager and how it is registered in the main application class. It is calling the third-party service. I appreciate your feedback and I will work on the documentation to improve it. Best, |
Beta Was this translation helpful? Give feedback.
Hi @jriggins ! Thanks for your question.
Fmodel libraries have been ported to:
Python
Our friends from Holisticon are working on Python version (expect a lot more, very soon!):
SagaManager
I admit, that docs on this topic can be better. I hope to change that soon.
Till then, check the Kotlin Fmodel docs, by focusing on the EventSourced scenario (in which Saga Manager could be used).
Saga Manager is not useful in the State Stored Scenario. Fmodel is not promoting Event-Driven architecture in the case of StateStored System. The reason for that is that Events are not API in this case. It is not something you will store durably, and it is only fair not to exten…