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.
handler for unmanaged message
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
general task that runs any DataSource see DataSourceProcessor for its usage
DataSourceTask calls
DataSource.open
inonStart
and pass in io.gearpump.streaming.task.TaskContext and application start timeDataSource.read
in eachonNext
, which reads a batch of messages whose size are defined bygearpump.source.read.batch.size
.DataSource.close
inonStop