Class NotificationServiceTest
java.lang.Object
io.debezium.pipeline.notification.NotificationServiceTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate io.debezium.config.CommonConnectorConfigprivate final org.apache.kafka.connect.source.SourceRecordprivate booleanstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.kafka.connect.source.SourceRecordprivate voidconsume(org.apache.kafka.connect.source.SourceRecord sourceRecord) voidvoid
-
Field Details
-
NOTIFICATION_ID
-
expectedRecord
private final org.apache.kafka.connect.source.SourceRecord expectedRecord -
isConsumerCalled
private boolean isConsumerCalled -
connectorConfig
@Mock private io.debezium.config.CommonConnectorConfig connectorConfig
-
-
Constructor Details
-
NotificationServiceTest
public NotificationServiceTest()
-
-
Method Details
-
buildRecord
private org.apache.kafka.connect.source.SourceRecord buildRecord() -
testNotificationWithLogNotificationChannel
public void testNotificationWithLogNotificationChannel() -
notificationSentOnKafkaChannelWillBeCorrectlyProcessed
public void notificationSentOnKafkaChannelWillBeCorrectlyProcessed() -
consume
private void consume(org.apache.kafka.connect.source.SourceRecord sourceRecord)
-