Skip to content

Operation Modes

Mark Papadakis edited this page Jul 1, 2016 · 4 revisions

Tank will support two different operation modes. Stand-alone mode and cluster mode. Currently, the former is implemented, while support for cluster mode is forthcoming.

Standalone Mode

In this mode, there is a single Tank server instance(broker), and clients connect to it, send requests and receive responses. See configuration page for how configuration works in this mode.

You run it by specifying the port to listen to, and the base directory for all topics.

$> ./tank -l :1025 -p /data/TankTopics/

If you want to listen to a specific address, use e.g -l 10.5.5.1:1025.

Clustered Mode

In this mode, Tank clusters can be formed and configuration, leader election, and assignment will be based on etcd. There will no single special-purpose controller instance, as it is the case with Kafka.

Clone this wiki locally