public interface JournalHandler
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize() |
java.lang.String |
getJournalTable() |
JournalStrategy |
getStrategy()
Establish the journal strategy:
DELETE - removes imported rows from journal table
WINDOW - memorizes
|
java.lang.String |
getTargetQuery()
The query to retrieve changed data can references columns from journal
table as named parameters:
|
void |
publish(Data data)
Publishes captured data (like writing a file or publishing to a kafka
queue).
|
java.lang.String getJournalTable()
int getBatchSize()
java.lang.String getTargetQuery()
The query to retrieve changed data can references columns from journal table as named parameters:
select * from mytable where pk = :pk
void publish(Data data) throws PublishException
data
- object Data
for captured dataPublishException
- failed to publish retrieved dataJournalStrategy getStrategy()