public static class KafkaMatchers.ConsumerRecordTimestampMatcher
extends org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
Constructor and Description |
---|
ConsumerRecordTimestampMatcher(org.apache.kafka.common.record.TimestampType type,
long ts) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matches(java.lang.Object item,
org.hamcrest.Description mismatchDescription) |
public ConsumerRecordTimestampMatcher(org.apache.kafka.common.record.TimestampType type, long ts)
protected boolean matches(java.lang.Object item, org.hamcrest.Description mismatchDescription)
matches
in class org.hamcrest.DiagnosingMatcher<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
public void describeTo(org.hamcrest.Description description)