Skip to main content

Employee Events

Summary

Employee defines and maps seven domain-event types. Contract staging is transactional, but service startup does not register a hosted outbox relay.

Audience

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

Reference Content

Status change raises the dedicated status event and an EmployeeUpdated event. Manager/department changes raise dedicated events. The MarkDeleted invocation path requires confirmation even though the event and mapping exist.

All mappings create version-1 contracts with source metadata. Common correlation and causation values are not populated.

Payroll and Leave consume Created, Updated and StatusChanged. Notification consumes Created. No requested-scope consumer was found for Deleted, ManagerChanged, DepartmentChanged or TimelineEventRecorded.

Until a relay invoker is registered, Employee outbox entries can be staged without being published by Employee Service itself.

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/employee-service/Domain/Employees/Employee.cs
  • microservices/src/employee-service/Infrastructure/EmployeeDbContext.cs
  • microservices/src/employee-service/Infrastructure/Persistence.cs
  • microservices/src/employee-service/Program.cs

See Also

Keywords

  • Onboarding events
  • Offboarding events
  • Integration contracts

Revision Information

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