Always flush kafka producers in tests
Sometimes, in a very loaded situation, the producer can return and let
the consumer start before the topic is actually created.
Adding a producer.flush() avoids that race condition.
olasd | Authored on Jul 21 2021, 3:12 PM |
olasd | Pushed on Jul 23 2021, 10:32 AM |
Buildable 22723 | |
Build 35436: test-and-build | Jenkins console · Jenkins |