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

Allow KieRuntimeBuilder to also create and provide StatelessKieSession #1492

Closed
mariofusco opened this issue Sep 23, 2024 · 1 comment · Fixed by apache/incubator-kie-drools#6103
Assignees
Labels
area:engine Related to the runtime engines type:enhancement Something that already exists needs to be improved

Comments

@mariofusco
Copy link

At the moment the KieRuntimeBuilder only allow to retrieve KieSession s, but not StatelessKieSession s. Even worse when a KieSession configured as stateless is required through the current API it creates a stateful one anyway, making things even more confused.

Finally the impossibility of creating a StatelessKieSession from KieRuntimeBuilder is also the indirect cause of a memory leak with the Kogito integration as reported here.

@mariofusco
Copy link
Author

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:enhancement Something that already exists needs to be improved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants