Slide 13
Slide 13 text
public interface StreamTask {
void process(
IncomingMessageEnvelope envelope,
MessageCollector collector,
TaskCoordinator coordinator);
}
Samza API: processing messages
getKey(), getMsg()
commit(), shutdown()
sendMsg(topic, key, value)