Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As current producer and consumer are part of the same team, the proposition is to start with JSON Text format and put in place a reliable process to manage and use the schema within the team.

Going Further

...

CPS Core Changes

  • As being the event producer, CPS Core is taking ownership of the event schema definition. Also, if the code and the classes to handle the event are not automatically generated, CPS Core could provide them to avoid code duplication. These need to be provided in a separated Maven module, delivered to Nexus and then imported as dependency by subscribers.
  • The event publication is CPSDataService responsibility. After its call to DataPersistenceService is completed, it sends a Data Updated Event using a Data Updated Event Event Producer component.

Going Further

  • Other types of events: Data Deleted, Data Leaf Updated.

References

...