Class MongoEventRouterTestIT

All Implemented Interfaces:
Testing

public class MongoEventRouterTestIT extends AbstractMongoConnectorIT
Integration tests for MongoEventRouter
Author:
Sungho Hwang
  • Field Details

    • DB_NAME

      protected static final String DB_NAME
      See Also:
    • SERVER_NAME

      protected static final String SERVER_NAME
      See Also:
    • outboxEventRouter

      private io.debezium.connector.mongodb.transforms.outbox.MongoEventRouter<org.apache.kafka.connect.source.SourceRecord> outboxEventRouter
  • Constructor Details

    • MongoEventRouterTestIT

      public MongoEventRouterTestIT()
  • Method Details

    • beforeEach

      public void beforeEach()
      Overrides:
      beforeEach in class AbstractMongoConnectorIT
    • getCollectionName

      private String getCollectionName()
    • topicName

      protected String topicName()
    • beforeEach

      public void beforeEach(Configuration config)
    • afterEach

      public void afterEach()
      Overrides:
      afterEach in class AbstractMongoConnectorIT
    • shouldConsumeRecordsFromInsert

      public void shouldConsumeRecordsFromInsert() throws Exception
      Throws:
      Exception
    • shouldSendEventTypeAsHeader

      public void shouldSendEventTypeAsHeader() throws Exception
      Throws:
      Exception
    • shouldSendEventTypeAsValue

      public void shouldSendEventTypeAsValue() throws Exception
      Throws:
      Exception
    • shouldSupportAllFeatures

      public void shouldSupportAllFeatures() throws Exception
      Throws:
      Exception
    • shouldNotProduceTombstoneEventForNullPayload

      public void shouldNotProduceTombstoneEventForNullPayload() throws Exception
      Throws:
      Exception
    • shouldProduceTombstoneEventForNullPayload

      public void shouldProduceTombstoneEventForNullPayload() throws Exception
      Throws:
      Exception