Need help for KafkaSteps.autoSeekTopics #326
-
Hello everyone, When my scenarios follow one another, I cannot correctly check the content of the topic in which I produce. I use the following step: I think I have a configuration problem. Can you help me? If you need more informations please feel free to ask me. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Hello, can you be more precise on the exception you have. There is more than 0 messages in the topic or he can't read the topic at all ? |
Beta Was this translation helpful? Give feedback.
Another way to resolve this that should work, is to add
classes = KafkaInterceptor.class
to the@ContextConfiguration
annotation.Should be some thing like this in your code :
@ContextConfiguration(initializers = ApplicationTest.InitializerTest.class, classes = KafkaInterceptor.class)