Class ProcessId
java.lang.Object
org.apache.kafka.streams.processor.assignment.ProcessId
- All Implemented Interfaces:
Comparable<ProcessId>
A simple wrapper around UUID that abstracts a Process ID
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ProcessId
-
-
Method Details
-
id
- Returns:
- the underlying
UUID
that this ProcessID is wrapping.
-
randomProcessId
- Returns:
- a randomly generated process id
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ProcessId>
-