Class MongoEventRouterTestIT

  • All Implemented Interfaces:
    Testing

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

      • outboxEventRouter

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

      • MongoEventRouterTestIT

        public MongoEventRouterTestIT()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • getCollectionName

        private String getCollectionName()
      • topicName

        protected String topicName()
      • 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