Class KafkaConditions.ConsumerRecordTimestampCondition
java.lang.Object
org.assertj.core.api.Condition<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
org.springframework.kafka.test.assertj.KafkaConditions.ConsumerRecordTimestampCondition
- All Implemented Interfaces:
org.assertj.core.api.Descriptable<org.assertj.core.api.Condition<org.apache.kafka.clients.consumer.ConsumerRecord<?,
?>>>
- Enclosing class:
- KafkaConditions
public static class KafkaConditions.ConsumerRecordTimestampCondition
extends org.assertj.core.api.Condition<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.assertj.core.api.Condition
org.assertj.core.api.Condition.Status
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerRecordTimestampCondition
(org.apache.kafka.common.record.TimestampType type, long ts) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> value) Methods inherited from class org.assertj.core.api.Condition
conditionDescriptionWithStatus, describedAs, description, status, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
ConsumerRecordTimestampCondition
public ConsumerRecordTimestampCondition(org.apache.kafka.common.record.TimestampType type, long ts)
-
-
Method Details
-
matches
public boolean matches(org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> value) - Overrides:
matches
in classorg.assertj.core.api.Condition<org.apache.kafka.clients.consumer.ConsumerRecord<?,
?>>
-