-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Using a Kafka activity is causing duplicated WorkFlowTrigger instance #3832
Comments
@Snotax Maybe you experienced this as well? |
@sfmskywalker I will check on monday, but from memory I don't think that my workflows got triggered multiple times. |
Perfect, thank you! |
@dao74 This should be fixed now with the preview build (https://github.com/elsa-workflows/elsa-core/actions/runs/4530401599) with to the PR from @Snotax |
Seems working, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have added a Kafka activity into a flow and saw that the flow is running twice.
Checking of the Triggers table: the records related to the Kafka activity were duplicated.
After debug I found out the duplication was caused in the Elsa.Services.Triggers.TriggersForActivityBlueprintAndWorkflowProvider. **GetTriggersForActivityBlueprintAsync** method.
supportedBookmarkProviders =
Elsa.Activities.Kafka.Bookmarks.OverrideKafkaBookmarkProvider,
Elsa.Activities.Kafka.Bookmarks.QueueMessageReceivedBookmarkProvider
GetTriggersForBookmarkProvider is returning 2 items WorkflowTrigger with identical values (ActivityType=KafkaMessageReceived)
Please check and advise.
The text was updated successfully, but these errors were encountered: