@Override
public void generate(
- int numberOfMessagesToGenerate,
Set<Integer> poisonPills,
Set<Integer> logicErrors,
Consumer<ProducerRecord<Bytes, Bytes>> messageSender)
{
for (int key = 0; key < 10; key++)
{
- if (++i > numberOfMessagesToGenerate)
+ if (++i > 100)
return;
Bytes value = new Bytes(longSerializer.serialize(TOPIC, (long)i));
public interface RecordGenerator
{
void generate(
- int numberOfMessagesToGenerate,
Set<Integer> poisonPills,
Set<Integer> logicErrors,
Consumer<ProducerRecord<Bytes, Bytes>> messageSender);