Kaffe v1.2.1 Kaffe.Worker

A worker receives messages for a single topic partition.

Processing the message set is delegated to the configured message handler. It is responsible for any error handling. The message handler must define a handle_messages function (note the pluralization!) to accept a list of messages.

The result of handle_messages is sent back to the subscriber.

Summary

Functions

handle_cast(arg, state)
init(list)
process_messages(pid, subscriber_pid, topic, partition, generation_id, messages)
start_link(message_handler, subscriber_name, worker_name)
terminate(reason, state)