Class NetworkReceiveTest

java.lang.Object
org.apache.kafka.common.network.NetworkReceiveTest

public class NetworkReceiveTest extends Object
  • Constructor Details

    • NetworkReceiveTest

      public NetworkReceiveTest()
  • Method Details

    • testBytesRead

      @Test public void testBytesRead() throws IOException
      Throws:
      IOException
    • testRequiredMemoryAmountKnownWhenNotSet

      @Test public void testRequiredMemoryAmountKnownWhenNotSet()
    • testRequiredMemoryAmountKnownWhenSet

      @Test public void testRequiredMemoryAmountKnownWhenSet() throws IOException
      Throws:
      IOException
    • testSizeWithPredefineBuffer

      @Test public void testSizeWithPredefineBuffer()
    • testSizeAfterRead

      @Test public void testSizeAfterRead() throws IOException
      Throws:
      IOException
    • testEarlyRejectionForBoundedRequest

      @Test public void testEarlyRejectionForBoundedRequest() throws IOException
      Throws:
      IOException
    • testRequestWithinBoundedRequestLimitSkipsApiHeaderPhase

      @Test public void testRequestWithinBoundedRequestLimitSkipsApiHeaderPhase() throws IOException
      Throws:
      IOException
    • testOversizedNonBoundedRequestAllowed

      @Test public void testOversizedNonBoundedRequestAllowed() throws IOException
      Throws:
      IOException
    • testGlobalMaxSizeStillApplies

      @Test public void testGlobalMaxSizeStillApplies() throws IOException
      Throws:
      IOException
    • testEmptyPayloadSkipsApiCheck

      @Test public void testEmptyPayloadSkipsApiCheck() throws IOException
      Throws:
      IOException
    • testSmallPayloadSkipsApiCheck

      @Test public void testSmallPayloadSkipsApiCheck() throws IOException
      Throws:
      IOException
    • testNoBoundedRequestLimitNoOverhead

      @Test public void testNoBoundedRequestLimitNoOverhead() throws IOException
      Throws:
      IOException
    • testBytesReadWithApiHeader

      @Test public void testBytesReadWithApiHeader() throws IOException
      Throws:
      IOException
    • testPartialSizeRead

      @Test public void testPartialSizeRead() throws IOException
      Throws:
      IOException
    • testPartialApiHeaderRead

      @Test public void testPartialApiHeaderRead() throws IOException
      Throws:
      IOException
    • testEofDuringSizeRead

      @Test public void testEofDuringSizeRead() throws IOException
      Throws:
      IOException
    • testEofDuringApiHeaderRead

      @Test public void testEofDuringApiHeaderRead() throws IOException
      Throws:
      IOException
    • testEofDuringPayloadRead

      @Test public void testEofDuringPayloadRead() throws IOException
      Throws:
      IOException