Class MockConsumerTest
java.lang.Object
org.apache.kafka.clients.consumer.MockConsumerTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
MockConsumerTest
public MockConsumerTest()
-
-
Method Details
-
testSimpleMock
@Test public void testSimpleMock() -
testConsumerRecordsIsEmptyWhenReturningNoRecords
@Test public void testConsumerRecordsIsEmptyWhenReturningNoRecords() -
shouldNotClearRecordsForPausedPartitions
@Test public void shouldNotClearRecordsForPausedPartitions() -
endOffsetsShouldBeIdempotent
@Test public void endOffsetsShouldBeIdempotent() -
testDurationBasedOffsetReset
@Test public void testDurationBasedOffsetReset() -
testRebalanceListener
@Test public void testRebalanceListener() -
testRe2JPatternSubscription
@Test public void testRe2JPatternSubscription() -
shouldReturnMaxPollRecords
@Test public void shouldReturnMaxPollRecords() -
testLosePartitionsCallsOnPartitionsLost
@Test public void testLosePartitionsCallsOnPartitionsLost() -
testLosePartitionsRemovesFromAssignment
@Test public void testLosePartitionsRemovesFromAssignment() -
testLosePartitionsThrowsIfNotAssigned
@Test public void testLosePartitionsThrowsIfNotAssigned() -
testLosePartitionsClearsOnlyLostRecords
@Test public void testLosePartitionsClearsOnlyLostRecords() -
testLosePartitionsThenRebalance
@Test public void testLosePartitionsThenRebalance()
-