Skip to content
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

KafkaEventPublisher doesn't check if topic is disabled #1817

Open
pefernan opened this issue Feb 7, 2025 · 0 comments
Open

KafkaEventPublisher doesn't check if topic is disabled #1817

pefernan opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
area:engine Related to the runtime engines type:bug Something is behaving unexpectedly

Comments

@pefernan
Copy link

pefernan commented Feb 7, 2025

In Springboot It's possible to disable sending messages on specific kafka topics in the application.properties using the the configs kogito.events.<topic_name>.enabled, however, even if they are disabled the properties are not checked and messages are always sent.

Example:

kogito.events.processinstances.enabled=false
kogito.events.processdefinitions.enabled=false
kogito.events.usertasks.enabled=false

Note: Considering we have properties to configure the topic names like kogito.addon.events.process.kafka.<topic_name>.topic, shouldn't we use the same format for both properties, either kogito.events.processinstances... or kogito.addon.events.process.kafka...?

@pefernan pefernan added area:engine Related to the runtime engines type:bug Something is behaving unexpectedly labels Feb 7, 2025
@fjtirado fjtirado self-assigned this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:engine Related to the runtime engines type:bug Something is behaving unexpectedly
Projects
None yet
Development

No branches or pull requests

2 participants