org.apache.gearpump.streaming.source
Method called for each message received.
Method called for each message received.
Method called with the task is initialized.
Method called with the task is initialized.
Method called when task is under clean up.
Method called when task is under clean up.
This can be used to cleanup resource when the application finished.
Handlers unmanaged messages
For managed message(type of Message), the sender mean nothing, you should not use this directory
For managed message(type of Message), the sender mean nothing, you should not use this directory
For unmanaged message, the sender represent the sender actor
the sender
Default Task container for org.apache.gearpump.streaming.source.DataSource that reads from DataSource in batch See org.apache.gearpump.streaming.source.DataSourceProcessor for its usage
DataSourceTask calls:
DataSource.open()
inonStart
and pass in org.apache.gearpump.streaming.task.TaskContext and application start timeDataSource.read()
in eachonNext
, which reads a batch of messagesDataSource.close()
inonStop