Closed zakhdar closed 2 years ago
/cc @Ladicek, @cescoffier, @evacchi, @jmartisk, @mariofusco, @michalszynkiewicz, @ozangunalp, @phillip-kruger, @radcortez
the reactive messaging addon is currently quite opinionated in what it expects (i.e. basically, Kafka), so I am not surprised it won't work with rabbitmq. I am not sure what the current status of pluggability is, maybe @fjtirado or @ricardozanini have some further details
thanks @evacchi for the answer, isn't the fact of using reactive messaging supposed to make abstraction on the connector used (kafka , amqp , rabbitmq ...)
indeed. However, the Kogito addon generates an event consumer that makes a few assumptions for simplicity.
We are working on a public API to allow end-users to write their own endpoints/event consumers (less automatic codegen involved). You can read more here https://blog.kie.org/2021/11/the-road-towards-a-kogito-public-api.html
the intended idea is that, if one diverges from the intended "happy path" you'll be able to customize at will
@evacchi should this issue be moved to Kogito? I don't believe we would be able to do anything from Quarkus.
I have created https://issues.redhat.com/browse/KOGITO-6616
Thanks @evacchi !
Closing this one.
Describe the bug
I have created a small application to test the public api of Kogito, in this application I also use rabbitmq (Smallrye reactive messaging extension).
When my application consumes the first message (rabbitmq), the application restarts, the following messages do not pose any problem.
After several searches when I remove the dependencies of Kogito, the application works well, as soon as I add the dependencies of Kogito I have again the bug (even if there are no kogito resources like bpmn drl .... in my project) the simple fact of putting the dependencies in my pom creates this bug.
Bean consuming message
`@ApplicationScoped public class MessageService {
}`
application.properties
Pom.xml
Stacktrace when receiving the first message
If i remove this 2 depencies form POM everything works fine
Its seem like when i receive the first message , hot reload mechanism is proccing
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
You can find a reproducer at https://github.com/zakhdar/demo.git (dont forget to change RabbitMQ settings in application.properties or use RabbitMQ dev service)
Output of
uname -a
orver
Windows 11
Output of
java -version
11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response