Class ShareFetchTest
java.lang.Object
org.apache.kafka.clients.consumer.internals.ShareFetchTest
This tests the
ShareFetch functionality.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ShareFetchTest
public ShareFetchTest()
-
-
Method Details
-
testEmptyFetch
@Test public void testEmptyFetch() -
testRecordsGroupedByPartition
@Test public void testRecordsGroupedByPartition() -
testRecordsCombinesMultipleBatchesForPartition
@Test public void testRecordsCombinesMultipleBatchesForPartition() -
testRecordsOmitsPartitionWithOnlyGaps
@Test public void testRecordsOmitsPartitionWithOnlyGaps() -
testRecordsIncludesPartitionWithGapsAndRecordsInSeparateBatches
@Test public void testRecordsIncludesPartitionWithGapsAndRecordsInSeparateBatches() -
testRecordsEmptyAfterAllAcknowledged
@Test public void testRecordsEmptyAfterAllAcknowledged() -
testRecordsOnlyIncludesUnacknowledgedRecords
@Test public void testRecordsOnlyIncludesUnacknowledgedRecords() -
testRecordsIsUnmodifiable
@Test public void testRecordsIsUnmodifiable() -
testAcquisitionLockTimeoutTakenFromLatestBatch
@Test public void testAcquisitionLockTimeoutTakenFromLatestBatch()
-