Interface KafkaAssertions<K,V>

All Known Implementing Classes:
AvroKafkaAssertions, PlainKafkaAssertions

public interface KafkaAssertions<K,V>
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
  • Method Details

    • awaitAssert

      static void awaitAssert(long timeout, TimeUnit unit, org.awaitility.core.ThrowingRunnable assertion)
    • awaitAssert

      static void awaitAssert(org.awaitility.core.ThrowingRunnable assertion)
    • assertTopicsExist

      default void assertTopicsExist(String... names)
    • assertRecordsCount

      default void assertRecordsCount(String topic, int count)
    • assertMinimalRecordsCount

      default void assertMinimalRecordsCount(String topic, int count)
    • assertRecordsContain

      void assertRecordsContain(String topic, String content)
    • getConsumer

      org.apache.kafka.clients.consumer.Consumer<K,V> getConsumer()