Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Refresh propagated data #1898

@i02coroj

Description

@i02coroj

Hi.
I've got a question around the data propagated across different services: how to refresh it?

Let's consider next scenario:
We want to add a validation in Ordering service to make sure an item exists when creating an order, just in case it was removed hitting the delete endpoint in Catalog service.
To achieve it, we propagate Catalog data into Ordering database (only a few properties, maybe just the Id) so we avoid direct calls from Ordering to Catalog.

With that running in prodution, what mechanism can we use to refresh that propagated data in Ordering service. That could be needed for different reasons:

  • A new requirement implying we need to save in Ordering more attributes from the Catalog data.
  • A bug in Ordering not saving correctly the propagated data
  • ...

Any ideas on how to approach it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions