Class EventHubsWithPartitionRouterIT

java.lang.Object
io.debezium.server.eventhubs.EventHubsWithPartitionRouterIT

@QuarkusTestResource(io.debezium.testing.testcontainers.PostgresTestResourceLifecycleManager.class) public class EventHubsWithPartitionRouterIT extends Object
Integration test that verifies basic reading from PostgreSQL database and writing to Azure Event Hubs.
Author:
Abhishek Gupta
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • MESSAGE_COUNT

      private static final int MESSAGE_COUNT
      See Also:
    • CONSUMER_GROUP

      private static final String CONSUMER_GROUP
      See Also:
    • producer

      protected static com.azure.messaging.eventhubs.EventHubProducerClient producer
    • consumer

      protected static com.azure.messaging.eventhubs.EventHubConsumerClient consumer
    • server

      @Inject DebeziumServer server
  • Constructor Details

    • EventHubsWithPartitionRouterIT

      public EventHubsWithPartitionRouterIT()
  • Method Details

    • stop

      @AfterAll static void stop()
    • setupDependencies

      void setupDependencies(@Observes io.debezium.server.events.ConnectorStartedEvent event)
    • connectorCompleted

      void connectorCompleted(@Observes io.debezium.server.events.ConnectorCompletedEvent event) throws Exception
      Throws:
      Exception
    • testEventHubsWithCustomPartitionConfiguration

      @Test public void testEventHubsWithCustomPartitionConfiguration() throws Exception
      Throws:
      Exception