Class DefaultRecordTest
java.lang.Object
org.apache.kafka.common.record.internal.DefaultRecordTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultRecordTest
public DefaultRecordTest()
-
-
Method Details
-
testBasicSerde
- Throws:
IOException
-
testBasicSerdeInvalidHeaderCountTooHigh
- Throws:
IOException
-
testBasicSerdeInvalidHeaderCountTooLow
- Throws:
IOException
-
testInvalidKeySize
- Throws:
IOException
-
testInvalidKeySizePartial
- Throws:
IOException
-
testInvalidValueSize
- Throws:
IOException
-
testInvalidValueSizePartial
- Throws:
IOException
-
testInvalidNumHeaders
- Throws:
IOException
-
testInvalidNumHeadersPartial
- Throws:
IOException
-
testReadPartiallyFromSkipsKeyAndValueWithoutMaterializing
- Throws:
IOException
-
testInvalidHeaderKey
- Throws:
IOException
-
testInvalidHeaderKeyPartial
- Throws:
IOException
-
testNullHeaderKey
- Throws:
IOException
-
testNullHeaderKeyPartial
- Throws:
IOException
-
testInvalidHeaderValue
- Throws:
IOException
-
testInvalidHeaderValuePartial
- Throws:
IOException
-
testUnderflowReadingTimestamp
- Throws:
IOException
-
testUnderflowReadingVarlong
- Throws:
IOException
-
testInvalidVarlong
- Throws:
IOException
-
testSerdeNoSequence
- Throws:
IOException
-
testInvalidSizeOfBodyInBytes
- Throws:
IOException
-
testReadPartiallyFromConsumesExactlyOneRecord
- Throws:
IOException
-
testReadPartiallyRejectsUndersizedBody
- Throws:
IOException
-
testReadPartiallyRejectsOversizedBody
- Throws:
IOException
-
testReadPartiallyRejectsNonCanonicalVarintPadding
- Throws:
IOException
-
testReadFromStreamRejectsInvalidBodySize
- Throws:
IOException
-
testReadPartiallyFromStreamRejectsInvalidBodySize
- Throws:
IOException
-
testReadFromStreamRejectsBodySizeExceedingConfiguredMax
- Throws:
IOException
-
testReadPartiallyFromStreamRejectsBodySizeExceedingConfiguredMax
@Test public void testReadPartiallyFromStreamRejectsBodySizeExceedingConfiguredMax() throws IOException- Throws:
IOException
-
testReadFromStreamWithConfiguredMaxAcceptsValidRecordAndRejectsWhenTooSmall
@Test public void testReadFromStreamWithConfiguredMaxAcceptsValidRecordAndRejectsWhenTooSmall() throws IOException- Throws:
IOException
-