Changes for page Multi-Model Best Practice
Last modified by Erik Bakker on 2024/08/08 11:58
From version 9.1
edited by Erik Bakker
on 2023/04/13 14:13
on 2023/04/13 14:13
Change comment:
There is no comment for this version
To version 10.1
edited by Erik Bakker
on 2023/04/13 14:14
on 2023/04/13 14:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,11 +28,13 @@ 28 28 29 29 To understand the following section, it is necessary to have some background information about event streaming, which can be found [[here>>doc:Main.eMagiz Academy.Fundamentals.fundamental-event-streaming-introduction||target="blank"]]. 30 30 The first option is to decide the alignment of the data models between both models. Whenever data from the first model is transferred to the second model, and the topic is considered input for other systems and integrations in that other model, the data needs to be transformed to the common data model of that second model. THis way, the topic can be exposed to any system and any pattern in the second model. The picture below denotes this situation. These are the specific considerations when implementing this approach: 31 - 1.Leverage the credentials of the first eMagiz model in the second model32 - 2.Create clear systems with clear names and ensure to align the message type names31 + * Leverage the credentials of the first eMagiz model in the second model 32 + * Create clear systems with clear names and ensure to align the message type names 33 33 34 - To allow communication between systems in different models using event streaming, it is needed to transform topics. The reason for this, is that it is not possible to retrieve data from a topic existent in one model through a different model. So, the topic present in model A cannot be immediately accessed by systems present in model B. To ensure that systems in model B can use the data on the topic in model A, the topic needs to be transformed. By transforming the topic, all systems in model B can access the transformed topic. 34 +To allow communication between systems in different models using event streaming, it is needed to transform topics. The reason for this, is that it is not possible to retrieve data from a topic existent in one model through a different model. So, the topic present in model A cannot be immediately accessed by systems present in model B. To ensure that systems in model B can use the data on the topic in model A, the topic needs to be transformed. By transforming the topic, all systems in model B can access the transformed topic. 35 + 35 35 To ensure that the topic from model A can be transformed, model B needs credentials from model A. So, to allow for this pattern, credentials have to be shared between models. 37 + 36 36 An advantage of this pattern is that there is no dependency across models. If the system in model A breaks down, the system in model B can still work. A disadvantage of this pattern is that there may be struggles with the setup, since no direct accessibility can be achieved. Moreover, as mentioned above, credentials have to be shared, which may be a threat to the security. 37 37 38 38 === 3.2 Webservices ===