"chat.backend.kafka.data-channel-topic=" + DATA_TOPIC,
"chat.backend.kafka.num-partitions=" + NUM_SHARDS,
})
-@Import(KafkaTestConfiguration.class)
+@Import(KafkaTestUtils.class)
@EmbeddedKafka(
topics = { INFO_TOPIC, DATA_TOPIC },
partitions = 10)
@Autowired ConsumerTaskRunner consumerTaskRunner,
@Autowired KafkaTemplate<String, String> messageTemplate)
{
- KafkaTestConfiguration.sendAndLoadStoredData(
+ KafkaTestUtils.sendAndLoadStoredData(
consumerTaskRunner,
messageTemplate);
}
@AfterAll
static void joinConsumerTasks(@Autowired ConsumerTaskRunner consumerTaskRunner)
{
- KafkaTestConfiguration.joinConsumerTasks(consumerTaskRunner);
+ KafkaTestUtils.joinConsumerTasks(consumerTaskRunner);
}
}