Split kafka writer tests into a consumer loop and an object check
This makes the consumer loop easier to reuse in other more specific tests
Test Plan
tox tests still pass
Migrated from D2961 (view on Phabricator)
This makes the consumer loop easier to reuse in other more specific tests
tox tests still pass
Migrated from D2961 (view on Phabricator)