Class ApiKeysTest

java.lang.Object
org.apache.kafka.common.protocol.ApiKeysTest

public class ApiKeysTest extends Object
  • Constructor Details

    • ApiKeysTest

      public ApiKeysTest()
  • Method Details

    • testForIdWithInvalidIdLow

      @Test public void testForIdWithInvalidIdLow()
    • testForIdWithInvalidIdHigh

      @Test public void testForIdWithInvalidIdHigh()
    • testAlterPartitionIsClusterAction

      @Test public void testAlterPartitionIsClusterAction()
    • testResponseThrottleTime

      @Test public void testResponseThrottleTime()
      All valid client responses which may be throttled should have a field named 'throttle_time_ms' to return the throttle time to the client. Exclusions are
      • Cluster actions used only for inter-broker are throttled only if unauthorized
      • SASL_HANDSHAKE and SASL_AUTHENTICATE are not throttled when used for authentication when a connection is established or for re-authentication thereafter; these requests return an error response that may be throttled if they are sent otherwise.
    • testApiScope

      @Test public void testApiScope()
    • testHasValidVersions

      @Test public void testHasValidVersions()
    • testHtmlOnlyHaveStableApi

      @Test public void testHtmlOnlyHaveStableApi()