クラスの使用
org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher

org.springframework.kafka.test.hamcrest.KafkaMatchers.ConsumerRecordPartitionMatcher の使用なし