-
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
CxODEV-459 Conductor: Add support for publishing wf/task events to RabbitMQ #1
base: main
Are you sure you want to change the base?
Conversation
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.
LGTM :)
@@ -127,3 +127,20 @@ management.metrics.export.datadog.enabled=false | |||
#optional - default Datadog instance is https://app.datadoghq.com/ | |||
# management.metrics.export.datadog.uri=<your DD instance> | |||
#management.metrics.export.datadog.step=10s | |||
|
|||
#Following properties set for using for publishing workflow/task status change event to RabbitMQ: |
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.
Style: Looking around, I see that "non-code" comments should have a space between #
and the sentence (not unlike our own .NET Coding Conventions)
@Override | ||
public void onWorkflowTerminatedIfEnabled(WorkflowModel workflow) { | ||
if (workflow.getWorkflowDefinition().isWorkflowStatusListenerEnabled() | ||
|| rabbitMQProperties.isWorkflowStatusListenerEnabled()) { |
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.
Maybe we should rename isWorkflowStatusListenerEnabled
to something like shouldAlwaysPublishWorkflowStatus
sa it more accurately reflects what it does.
Pull Request type
./gradlew generateLock saveLock
to refresh dependencies)Changes in this PR
Support for publishing workflow and task events to external message broker, in this case RabbitMQ, by implementing workflow and task status listeners that are used by workflow executor class. This functionality is enabling a dedicated microservice to actively listen for these updates, subsequently triggering specific actions.
Alternatives considered
--