Revert "Make the AuditEventStreamingWorker backward compatible temporarily"
What does this MR do and why?
- The first commit reverts the temporary changes introduced in MR !87243 (merged)
- The second commit removes the if condition that checks if
audit_operation
is present or not. Since we always set the value ofaudit_operation
while creating a job for this worker, it should be safe to assume that the worker will always have a nonnil
value foraudit_operation
. We also need to make sure that the payload of the streaming event is consistent so we should always set theevent_type
property in the JSON body and not conditionally.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Relates to #362573 (closed)