Class DoLStampGuidGenerator

java.lang.Object
com.linkedin.venice.guid.DoLStampGuidGenerator

public class DoLStampGuidGenerator extends Object
A GUID generator for Declaration of Leadership (DoL) control messages.

Uses UUID.nameUUIDFromBytes(byte[]) to generate a type 3 GUID that will not collide with type 4 GUIDs generated for user data using JavaUtilGuidV4Generator.

This GUID identifies the DoL message type (not individual messages). All DoL messages share the same GUID, which allows receivers to distinguish DoL control messages from other message types. Individual DoL messages are distinguished by their payload content (leadership term, host ID, etc.), not by the GUID.