Class ShareFetchTest

java.lang.Object
org.apache.kafka.clients.consumer.internals.ShareFetchTest

public class ShareFetchTest extends Object
This tests the ShareFetch functionality.
  • 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()