Class ProducerMetadataTest

java.lang.Object
org.apache.kafka.clients.producer.internals.ProducerMetadataTest

public class ProducerMetadataTest extends Object
  • Constructor Details

    • ProducerMetadataTest

      public ProducerMetadataTest()
  • Method Details

    • tearDown

      @AfterEach public void tearDown()
    • testMetadata

      @Test public void testMetadata() throws Exception
      Throws:
      Exception
    • testMetadataAwaitAfterClose

      @Test public void testMetadataAwaitAfterClose() throws InterruptedException
      Throws:
      InterruptedException
    • testMetadataEquivalentResponsesBackoff

      @Test public void testMetadataEquivalentResponsesBackoff() throws InterruptedException
      Throws:
      InterruptedException
    • testMetadataUpdateWaitTime

      @Test public void testMetadataUpdateWaitTime() throws Exception
      Tests that ProducerMetadata.awaitUpdate(int, org.apache.kafka.common.utils.Timer) doesn't wait forever with a max timeout value of 0
      Throws:
      Exception
      See Also:
    • testTimeToNextUpdateOverwriteBackoff

      @Test public void testTimeToNextUpdateOverwriteBackoff()
    • testTopicExpiry

      @Test public void testTopicExpiry()
    • testMetadataWaitAbortedOnFatalException

      @Test public void testMetadataWaitAbortedOnFatalException()
    • testMetadataPartialUpdate

      @Test public void testMetadataPartialUpdate()
    • testRequestUpdateForTopic

      @Test public void testRequestUpdateForTopic()
    • testRetainTopic

      @Test public void testRetainTopic()