public class KafkaShivaConstants extends Object
This protocol is used by the core punch administration to keep track of channels and applications status, as well as by the shiva application scheduler.
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSIGNEMENT_V1
A leader has been elected.
|
static String |
COMMAND_V1
The prefix header for start and stop commands.
|
static String |
COMMAND_V2
large message are only handled by V2 start command.
|
static String |
PING_V1
Leader send this message on the control topic periodically.
|
static String |
PONG_V1
Worker send this message every time a leader sent its PING_V1 message.
|
static String |
SHIVA_LEADER_GROUP_ID
The group identifier used by all leaders.
|
static String |
SHIVA_WORKER_GROUP_ID_PREFIX
Workers have each their own group id so that they all
read the same topics.
|
public static final String SHIVA_LEADER_GROUP_ID
public static final String SHIVA_WORKER_GROUP_ID_PREFIX
public static final String ASSIGNEMENT_V1
Worker respond with their description. If they do not the leader will consider them death.
public static final String PONG_V1
public static final String PING_V1
public static final String COMMAND_V1
public static final String COMMAND_V2
Copyright © 2014–2023. All rights reserved.