incubator-kie-kogito-runtimes: The Serverless Workflow runtime is generating an incorrect number of consumers.

Describe the bug

Hello,

It appears that when multiple states using the same eventRef, the Kogito runtime generates separate consumers for each usage of the eventRef. Consequently, when an event corresponding to the eventRef arrives from Kafka, all states linked to this eventRef are triggered simultaneously. This poses a significant obstacle for my use cases. I would appreciate your assistance in resolving this matter.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

Simply include multiple callback or event states that utilize the same eventRef.

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)

1.44

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 6 months ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

@dfiai he’s on PTO, after recess, he should get back to you.

Ok, that’s weird. I’ll let @fjtirado investigate then.