-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SELC-5034] feature: added logic to discriminate event type in cdc module #288
Conversation
|
}; | ||
} | ||
|
||
private boolean isOverUpdateThreshold(LocalDateTime updatedAt, LocalDateTime activatedAt) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it might be better to add some comments about this function...what means "isOverUpdateThreshold" ?
@@ -15,6 +15,7 @@ onboarding-cdc.storage.connection-string=${STORAGE_CONNECTION_STRING:UseDevelopm | |||
onboarding-cdc.retry.min-backoff=${ONBOARDING-CDC-RETRY-MIN-BACKOFF:1} | |||
onboarding-cdc.retry.max-backoff=${ONBOARDING-CDC-RETRY-MAX-BACKOFF:2} | |||
onboarding-cdc.retry=${ONBOARDING-CDC-RETRY:3} | |||
onboarding-cdc.minutes-threshold-for-update-notification=${ONBOARDING-CDC-MINUTES-THRESHOLD-FOR-UPDATE-NOTIFICATION:5} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
List of Changes
Added logic to discriminate event type in cdc module before invoking function to send notifications
Motivation and Context
With this feature we have the ability to understand if the result of a change in an onboarding document we need to send an event on ADD or UPDATE on queues
How Has This Been Tested?
local env
Screenshots (if appropriate):
Types of changes
Checklist: