-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Using the tzatziki-kafka module, we have seen some users complaining about instability and struggling to test their kafka topics. It was due to the fact that KafkaInterceptor was not in the classpath. Tzatziki could not add some aspectj around kafka consumer.
We already added some instructions in the README to avoid that.
Second thing we can do is to check that the component is in the spring context. If it's not the case we could stops the test and log a message.
The purpose of this issue is to discuss how can we assure the KafkaInterceptor is initialized and also how do we want to address it to the user.
To check if KafkaInterceptor is initialized, maybe the best way is to @Autowired (optional)
it in KafkaSteps and check in @Before
method if its not null.