Class ShareCompletedFetchTest

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

public class ShareCompletedFetchTest extends Object
  • Constructor Details

    • ShareCompletedFetchTest

      public ShareCompletedFetchTest()
  • Method Details

    • testSimple

      @Test public void testSimple()
    • testHasPendingAcknowledgements

      @Test public void testHasPendingAcknowledgements()
    • testPendingRenewAcknowledgementsWithException

      @Test public void testPendingRenewAcknowledgementsWithException()
    • testSoftMaxPollRecordLimit

      @Test public void testSoftMaxPollRecordLimit()
    • testUnaligned

      @Test public void testUnaligned()
    • testCommittedTransactionRecordsIncluded

      @Test public void testCommittedTransactionRecordsIncluded()
    • testNegativeFetchCount

      @Test public void testNegativeFetchCount()
    • testNoRecordsInFetch

      @Test public void testNoRecordsInFetch()
    • testRecordDeserializationException

      @Test public void testRecordDeserializationException()
    • testAcquiredRecords

      @Test public void testAcquiredRecords()
    • testGapsForControlRecordsInAcquiredRange

      @Test public void testGapsForControlRecordsInAcquiredRange()
    • testMixedRecordsAndGaps

      @Test public void testMixedRecordsAndGaps()
    • testAcknowledgementsIncludeOnlyGaps

      @Test public void testAcknowledgementsIncludeOnlyGaps()
    • testGapsWithControlRecordsAtBeginningAndEnd

      @Test public void testGapsWithControlRecordsAtBeginningAndEnd()
    • testAcquireOddRecords

      @Test public void testAcquireOddRecords()
    • testOverlappingAcquiredRecordsLogsErrorAndRetainsFirstOccurrence

      @Test public void testOverlappingAcquiredRecordsLogsErrorAndRetainsFirstOccurrence()
    • testCrcFailureOnFirstBatchThenSubsequentFetch

      @Test public void testCrcFailureOnFirstBatchThenSubsequentFetch()
    • testCrcFailureWithGapsInBatch

      @Test public void testCrcFailureWithGapsInBatch()
    • testCrcFailureWithUnalignedAcquiredRecords

      @Test public void testCrcFailureWithUnalignedAcquiredRecords()
    • testCorruptedRecordsWithCrcCheckDisabled

      @Test public void testCorruptedRecordsWithCrcCheckDisabled()
    • testCrcFailureAfterPartialFetch

      @Test public void testCrcFailureAfterPartialFetch()
    • testMultipleConsecutiveCrcFailures

      @Test public void testMultipleConsecutiveCrcFailures()
    • acquiredRecords

      public static List<org.apache.kafka.common.message.ShareFetchResponseData.AcquiredRecords> acquiredRecords(long firstOffset, int count)