Class NatsStreamingIT

java.lang.Object
io.debezium.server.nats.streaming.NatsStreamingIT

Integration test that verifies basic reading from PostgreSQL database and writing to NATS Streaming subject.
Author:
Thiago Avancini
  • Field Details

    • MESSAGE_COUNT

      private static final int MESSAGE_COUNT
      See Also:
    • SUBJECT_NAME

      private static final String SUBJECT_NAME
      See Also:
    • CLUSTER_ID

      private static final String CLUSTER_ID
      See Also:
    • CLIENT_ID

      private static final String CLIENT_ID
      See Also:
    • sc

      protected static io.nats.streaming.StreamingConnection sc
    • subscription

      protected static io.nats.streaming.Subscription subscription
    • messages

      private static final List<io.nats.streaming.Message> messages
  • Constructor Details

    • NatsStreamingIT

      public NatsStreamingIT()
  • Method Details

    • setupDependencies

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

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

      @AfterAll static void stop() throws Exception
      Throws:
      Exception
    • testNatsStreaming

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