Skip to content

Conversation

vincent-pochet
Copy link
Contributor

@vincent-pochet vincent-pochet commented Aug 5, 2025

Context

This PR is part of the Pre-aggregation epic.

The main goal of this feature is to setup a complete aggregation pipeline that will be leveraged to compute the customer usage without re-querying the full set of events.

Description

This pull extract the event enrichment logic from the events processor into a new dedicated EventEnrichmentService sub-service.
It clearly separates the enrichment logic from the kafka message production and the cache expiration. It make the code easier to maintain and test.

The same refactor will be applied to the message production and the cache expiration.

@vincent-pochet vincent-pochet changed the title feat(pre-aggregation): Extract enrich in a dedicated processor feat(pre-aggregation): Extract enrichment logic in a dedicated processor Aug 5, 2025
Copy link
Contributor

@ancorcruz ancorcruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vincent-pochet vincent-pochet merged commit 60069c9 into main Aug 7, 2025
1 check passed
@vincent-pochet vincent-pochet deleted the misc-refact-processor branch August 7, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants