Class TopicMetadataRequestManagerTest

java.lang.Object
org.apache.kafka.clients.consumer.internals.TopicMetadataRequestManagerTest

public class TopicMetadataRequestManagerTest extends Object
  • Constructor Details

    • TopicMetadataRequestManagerTest

      public TopicMetadataRequestManagerTest()
  • Method Details

    • setup

      @BeforeEach public void setup()
    • testPoll_SuccessfulRequestTopicMetadata

      @Test public void testPoll_SuccessfulRequestTopicMetadata()
    • testPoll_SuccessfulRequestAllTopicsMetadata

      @Test public void testPoll_SuccessfulRequestAllTopicsMetadata()
    • testTopicExceptionAndInflightRequests

      @ParameterizedTest @MethodSource("exceptionProvider") public void testTopicExceptionAndInflightRequests(org.apache.kafka.common.protocol.Errors error, boolean shouldRetry)
    • testAllTopicsExceptionAndInflightRequests

      @ParameterizedTest @MethodSource("exceptionProvider") public void testAllTopicsExceptionAndInflightRequests(org.apache.kafka.common.protocol.Errors error, boolean shouldRetry)
    • testExpiringRequest

      @Test public void testExpiringRequest()
    • testHardFailures

      @ParameterizedTest @MethodSource("hardFailureExceptionProvider") public void testHardFailures(Exception exception)
    • testNetworkTimeout

      @Test public void testNetworkTimeout()