Class NullableStructMessageTest

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

public class NullableStructMessageTest extends Object
  • Constructor Details

    • NullableStructMessageTest

      public NullableStructMessageTest()
  • Method Details

    • testDefaultValues

      @Test public void testDefaultValues()
    • testRoundTrip

      @Test public void testRoundTrip()
    • testNullForAllFields

      @Test public void testNullForAllFields()
    • testNullableStruct2CanNotBeNullInVersion0

      @Test public void testNullableStruct2CanNotBeNullInVersion0()
    • testToStringWithNullStructs

      @Test public void testToStringWithNullStructs()
    • testTaggedStructSize

      @Test public void testTaggedStructSize()
      Regression test for KAFKA-18199. Tests that the size of the varint encoding a tagged nullable struct's size is calculated correctly.