Skip to main content

Payroll Synchronization Events

Summary

Payroll consumes EmployeeCreated, EmployeeUpdated and EmploymentStatusChanged to maintain EmployeePayrollProfile.

Audience

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

Reference Content

Payroll's consumer is a registered hosted service. It reads employee identity/status/joining structure from the contract, maintains a local projection, checks a unique processed-event ledger and ignores older occurrence times.

The projection update, audit and processed marker share one local save when synchronization succeeds. Exceptions cause negative acknowledgement with requeue.

The consumer parser does not dispatch on contract schema version and does not retain correlation/causation in its local envelope. Profile synchronization is Transitional, not proof of payroll readiness or pay-run inclusion.

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/payroll-service/Messaging/PayrollReadModelConsumer.cs
  • microservices/src/payroll-service/Infrastructure/PayrollDbContext.cs
  • microservices/src/payroll-service/Program.cs

See Also

Keywords

  • Onboarding events
  • Offboarding events
  • Integration contracts

Revision Information

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