public class JournalExecutor
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
JournalExecutor(java.lang.String agentName,
java.lang.String zookeeper,
JournalHandler handler,
Source source) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Gets from journal table any update, executes the query to retrieve data,
publishes to somewhere and removes imported data from journal.
|
public JournalExecutor(java.lang.String agentName,
java.lang.String zookeeper,
JournalHandler handler,
Source source)
agentName - cdc agent's assigned namezookeeper - connection string to ZooKeeper serverhandler - JournalHandlersource - Sourcepublic void run()
run in interface java.lang.Runnable