-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
NOTE: In order to reproduce this issue locally please clone https://github.com/nklmish/spring-kafka-issue-676 and execute ./gradlew clean test
.
I ll like to use the same broker(s) for multiple test classes (garyrussell@24c399e), and saw this example mentioned in docs. However, it seems that topic(s) are created in Kafka (I have verified this) but never appended inside KafkaEmbedded#topics as a result when we try to access a newly created topic, e.g.
embeddedKafka.consumeFromAnEmbeddedTopic(consumer, SOME_TOPIC);
An assertion error gets thrown due to this .
We should update the topic array after this call. I can also submit a PR if the above suggestions sounds reasonable.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels