Class AvroKafkaAssertions
- java.lang.Object
-
- io.debezium.testing.system.assertions.AvroKafkaAssertions
-
- All Implemented Interfaces:
KafkaAssertions<byte[],byte[]>
public class AvroKafkaAssertions extends Object implements KafkaAssertions<byte[],byte[]>
-
-
Field Summary
Fields Modifier and Type Field Description private PropertieskafkaConsumerProps
-
Constructor Summary
Constructors Constructor Description AvroKafkaAssertions(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<byte[],byte[]>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
-
AvroKafkaAssertions
public AvroKafkaAssertions(Properties kafkaConsumerProps)
-
-
Method Detail
-
getConsumer
public org.apache.kafka.clients.consumer.Consumer<byte[],byte[]> getConsumer()
- Specified by:
getConsumerin interfaceKafkaAssertions<byte[],byte[]>
-
assertRecordsContain
public void assertRecordsContain(String topic, String content)
- Specified by:
assertRecordsContainin interfaceKafkaAssertions<byte[],byte[]>
-
-