Skip to main content

Leave Synchronization Events

Summary

Leave consumes EmployeeCreated, EmployeeUpdated and EmploymentStatusChanged into a local EmployeeProfile projection.

Audience

Leave developers, integration engineers, QA, support, and architects.

Reference Content

The consumer is registered as a hosted service. It uses the last applied event identity rather than a general processed-event ledger, and it rejects events older than the last projection occurrence time.

Exceptions are negatively acknowledged and requeued. Non-consecutive duplicate replay may not be detected after a newer event replaces the last identity.

EmployeeDeleted is not consumed. Automatic policy assignment, initial balance creation and exit balance closure are not event-driven in the inspected path.

Requires confirmation

Unless explicitly confirmed above, live delivery, consumer deployment, replay, reconciliation, retention, contract governance, monitoring and production ownership require confirmation.

Source References

  • microservices/src/leave-service/Messaging/EmployeeProfileConsumer.cs
  • microservices/src/leave-service/Domain/Leave/EmployeeProfile.cs
  • microservices/src/leave-service/Program.cs

See Also

Keywords

  • Onboarding events
  • Offboarding events
  • Integration contracts

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Review cycle: Quarterly