Hello everybody,
I have a problem with this consumer, i can’t consume the message from the topic.
Do you have any idea?
`
org.springframework.boot
spring-boot-starter-web
`
axon:
eventhandling:
processors:
conventions:
source: kafkaMessageSource
mode: tracking
serializer:
general: jackson
kafka:
client-id: consumer_service
default-topic: topic_x
bootstrap-servers:
- 127.0.0.1:9092
`
`
@SpringBootApplication(exclude = org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration.class)
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
`
`
//@Component
@ProcessingGroup(value = “conventions”)
public class GenericListener {
private static final Logger LOGGER = LoggerFactory.getLogger(GenericListener.class);
@EventHandler
void on(ConventionCreatedEvent event) {
LOGGER.info(“got the event {}”, event);
}
}
`