Hi Malay
Sender is just the producer of an event. It publishes an event. The consumer application is the part where the EventHandler is used. Like you can see in the configuration there is a Trackingprocessor defined with Kafka as event source. The EventHandler will be invoked automatically by axon, because of:
- the topic
- Kafka event source
- processinggroup
In my example the processinggroup matches the java package name. If this is not the case, then the annotation processinggroup is needed on the EventHandler and it must match the name defined as key of the processor in the configuration.
Actually Axon only supports trackingprocessor for Kafka which is absolutely fine.