Class MessageTest

java.lang.Object
org.apache.kafka.common.message.MessageTest

@Timeout(120L) public final class MessageTest extends Object
  • Constructor Details

    • MessageTest

      public MessageTest()
  • Method Details

    • testAddOffsetsToTxnVersions

      @Test public void testAddOffsetsToTxnVersions() throws Exception
      Throws:
      Exception
    • testAddPartitionsToTxnVersions

      @Test public void testAddPartitionsToTxnVersions() throws Exception
      Throws:
      Exception
    • testCreateTopicsVersions

      @Test public void testCreateTopicsVersions() throws Exception
      Throws:
      Exception
    • testDescribeAclsRequest

      @Test public void testDescribeAclsRequest() throws Exception
      Throws:
      Exception
    • testMetadataVersions

      @Test public void testMetadataVersions() throws Exception
      Throws:
      Exception
    • testHeartbeatVersions

      @Test public void testHeartbeatVersions() throws Exception
      Throws:
      Exception
    • testJoinGroupRequestVersions

      @Test public void testJoinGroupRequestVersions() throws Exception
      Throws:
      Exception
    • testListOffsetsRequestVersions

      @Test public void testListOffsetsRequestVersions() throws Exception
      Throws:
      Exception
    • testListOffsetsResponseVersions

      @Test public void testListOffsetsResponseVersions() throws Exception
      Throws:
      Exception
    • testJoinGroupResponseVersions

      @Test public void testJoinGroupResponseVersions() throws Exception
      Throws:
      Exception
    • testLeaveGroupResponseVersions

      @Test public void testLeaveGroupResponseVersions() throws Exception
      Throws:
      Exception
    • testSyncGroupDefaultGroupInstanceId

      @Test public void testSyncGroupDefaultGroupInstanceId() throws Exception
      Throws:
      Exception
    • testOffsetCommitDefaultGroupInstanceId

      @Test public void testOffsetCommitDefaultGroupInstanceId() throws Exception
      Throws:
      Exception
    • testDescribeGroupsRequestVersions

      @Test public void testDescribeGroupsRequestVersions() throws Exception
      Throws:
      Exception
    • testDescribeGroupsResponseVersions

      @Test public void testDescribeGroupsResponseVersions() throws Exception
      Throws:
      Exception
    • testDescribeClusterRequestVersions

      @Test public void testDescribeClusterRequestVersions() throws Exception
      Throws:
      Exception
    • testDescribeClusterResponseVersions

      @Test public void testDescribeClusterResponseVersions() throws Exception
      Throws:
      Exception
    • testGroupInstanceIdIgnorableInDescribeGroupsResponse

      @Test public void testGroupInstanceIdIgnorableInDescribeGroupsResponse() throws Exception
      Throws:
      Exception
    • testThrottleTimeIgnorableInDescribeGroupsResponse

      @Test public void testThrottleTimeIgnorableInDescribeGroupsResponse() throws Exception
      Throws:
      Exception
    • testOffsetForLeaderEpochVersions

      @Test public void testOffsetForLeaderEpochVersions() throws Exception
      Throws:
      Exception
    • testAlterPartitionReassignmentRequestWithObservers

      @Test public void testAlterPartitionReassignmentRequestWithObservers() throws Exception
      Throws:
      Exception
    • testAlterPartitionReassignmentRequestWithoutObservers

      @Test public void testAlterPartitionReassignmentRequestWithoutObservers() throws Exception
      Throws:
      Exception
    • testMetadataResponseResultWithObservers

      @Test public void testMetadataResponseResultWithObservers() throws Exception
      Throws:
      Exception
    • testOffsetCommitRequestVersions

      @ParameterizedTest public void testOffsetCommitRequestVersions(short version) throws Exception
      Throws:
      Exception
    • testOffsetCommitResponseVersions

      @ParameterizedTest public void testOffsetCommitResponseVersions(short version) throws Exception
      Throws:
      Exception
    • testTxnOffsetCommitRequestVersions

      @ParameterizedTest public void testTxnOffsetCommitRequestVersions(short version) throws Exception
      Throws:
      Exception
    • testTxnOffsetCommitResponseVersions

      @ParameterizedTest public void testTxnOffsetCommitResponseVersions(short version) throws Exception
      Throws:
      Exception
    • testOffsetFetchRequestVersions

      @ParameterizedTest public void testOffsetFetchRequestVersions(short version) throws Exception
      Throws:
      Exception
    • testOffsetFetchResponseVersions

      @ParameterizedTest public void testOffsetFetchResponseVersions(short version) throws Exception
      Throws:
      Exception
    • testProduceResponseVersions

      @Test public void testProduceResponseVersions() throws Exception
      Throws:
      Exception
    • defaultValueShouldBeWritable

      @Test public void defaultValueShouldBeWritable()
    • testSimpleMessage

      @Test public void testSimpleMessage() throws Exception
      Throws:
      Exception
    • testListReassignmentResultWithObservers

      @Test public void testListReassignmentResultWithObservers() throws Exception
      Throws:
      Exception
    • testListReassignmentResultWithoutObservers

      @Test public void testListReassignmentResultWithoutObservers() throws Exception
      Throws:
      Exception
    • testMessageVersions

      @Test public void testMessageVersions()
      Verify that the JSON files support the same message versions as the schemas accessible through the ApiKey class.
    • testDefaultValues

      @Test public void testDefaultValues()
    • testNonIgnorableFieldWithDefaultNull

      @Test public void testNonIgnorableFieldWithDefaultNull()
    • testWriteNullForNonNullableFieldRaisesException

      @Test public void testWriteNullForNonNullableFieldRaisesException()
    • testUnknownTaggedFields

      @Test public void testUnknownTaggedFields()
    • testTaggedFieldCountRejectedWhenLargerThanRemainingBytes

      @Test public void testTaggedFieldCountRejectedWhenLargerThanRemainingBytes()
    • testTaggedFieldCountRejectedWhenExceedingHardCap

      @Test public void testTaggedFieldCountRejectedWhenExceedingHardCap()
    • testAlterPartitionReassignmentWithObservers

      @Test public void testAlterPartitionReassignmentWithObservers() throws Exception
      Throws:
      Exception
    • testInitiateShutdownRequest

      @Test public void testInitiateShutdownRequest() throws Exception
      Throws:
      Exception
    • testInitiateShutdownResponse

      @Test public void testInitiateShutdownResponse() throws Exception
      Throws:
      Exception
    • testAlterPartitionReassignmentWithoutObservers

      @Test public void testAlterPartitionReassignmentWithoutObservers() throws Exception
      Throws:
      Exception
    • testTriggerEvenClusterLoadRequest

      @Test public void testTriggerEvenClusterLoadRequest() throws Exception
      Throws:
      Exception
    • testTriggerEvenClusterLoadResponse

      @Test public void testTriggerEvenClusterLoadResponse() throws Exception
      Throws:
      Exception
    • testComputeEvenClusterLoadPlanRequest

      @Test public void testComputeEvenClusterLoadPlanRequest() throws Exception
      Throws:
      Exception
    • testComputeEvenClusterLoadPlanResponse

      @Test public void testComputeEvenClusterLoadPlanResponse() throws Exception
      Throws:
      Exception
    • testComputeEvenClusterLoadPlanResponseWhenNotControllerNode

      @Test public void testComputeEvenClusterLoadPlanResponseWhenNotControllerNode() throws Exception
      Throws:
      Exception
    • testRemoveBrokers

      @Test public void testRemoveBrokers() throws Exception
      Throws:
      Exception
    • testDescribeBrokerRemovalsRequest

      @Test public void testDescribeBrokerRemovalsRequest() throws Exception
      Throws:
      Exception
    • testDescribeBrokerRemovalsResponse

      @Test public void testDescribeBrokerRemovalsResponse() throws Exception
      Throws:
      Exception
    • testDescribeBrokerAdditionsRequest

      @Test public void testDescribeBrokerAdditionsRequest() throws Exception
      Throws:
      Exception
    • testDescribeBrokerAdditionsResponse

      @Test public void testDescribeBrokerAdditionsResponse() throws Exception
      Throws:
      Exception
    • testLongTaggedString

      public void testLongTaggedString()
    • testCompareWithUnknownTaggedFields

      @Test public void testCompareWithUnknownTaggedFields()