Class PlainKafkaAssertions
- java.lang.Object
-
- io.debezium.testing.system.assertions.PlainKafkaAssertions
-
- All Implemented Interfaces:
KafkaAssertions<String,String>
public class PlainKafkaAssertions extends Object implements KafkaAssertions<String,String>
-
-
Field Summary
Fields Modifier and Type Field Description private PropertieskafkaConsumerProps
-
Constructor Summary
Constructors Constructor Description PlainKafkaAssertions(Properties kafkaConsumerProps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertRecordsContain(String topic, String content)org.apache.kafka.clients.consumer.Consumer<String,String>getConsumer()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.system.assertions.KafkaAssertions
assertMinimalRecordsCount, assertRecordsCount, assertTopicsExist
-
-
-
-
Field Detail
-
kafkaConsumerProps
private final Properties kafkaConsumerProps
-
-
Constructor Detail
-
PlainKafkaAssertions
public PlainKafkaAssertions(Properties kafkaConsumerProps)
-
-
Method Detail
-
getConsumer
public org.apache.kafka.clients.consumer.Consumer<String,String> getConsumer()
- Specified by:
getConsumerin interfaceKafkaAssertions<String,String>
-
assertRecordsContain
public void assertRecordsContain(String topic, String content)
- Specified by:
assertRecordsContainin interfaceKafkaAssertions<String,String>
-
-