Class KafkaMatchers.ConsumerRecordPartitionMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,
,?>> org.hamcrest.SelfDescribing
- Enclosing class:
- KafkaMatchers
public static class KafkaMatchers.ConsumerRecordPartitionMatcher
extends org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) protected boolean
Methods inherited from class org.hamcrest.DiagnosingMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
ConsumerRecordPartitionMatcher
public ConsumerRecordPartitionMatcher(int partition)
-
-
Method Details
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matches
- Specified by:
matches
in classorg.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,
?>>
-