Work with Migration Job Events
There are two migration job events published that denote the different life cycle stages of the migration job.
- MigrationJobCreateEvent: The event gets published when a new migration job is created.
- MigrationJobStateChangeEvent: The event gets published when there is any change in the status of the migration job. This is helpful to know the job status in special scenarios (such as when the job goes to error state) without using the GET API repeatedly to monitor the job status.