We are evaluating subscribing event processor with kafka as the event source and postgres as the event store, without the Axon server.
We observed that with the subscribing event processor configuration, the application is not starting and failing with UnsatisfiedDependencyException. The service is not able to instantiate the “commandBus” bean.
I have created a project by extending the axon-kafka-example (branch evaluate-sep, https://github.com/dharanikumarp/axon-kafka-example/tree/evaluate-sep) and shared for your reference. I have taken the latest Axon-kafka-extension (https://github.com/AxonFramework/extension-kafka) by specifying the source dependencies in “settings.gradle” file.
I have also followed the steps mentioned in the documentation (https://docs.axoniq.io/reference-guide/extensions/kafka#consuming-events-with-a-subscribable-message-source)
to create a configuration class for the beans “KafkaMessageSourceConfigurer”, “SubscribableKafkaMessageSource” and the method “configureSubscribableKafkaSource”.
The exception stack trace is attached.
Is there any properties that are missing in the application.yaml or any beans in the configuration class?
Thanks & Regards,
consumer_exception_stacktrace.txt (11.5 KB)