public interface ThreadMetadata
Modifier and Type | Method and Description |
---|---|
Set<TaskMetadata> |
activeTasks()
Metadata of the active tasks assigned to the stream thread.
|
String |
adminClientId()
Client ID of the admin client used by the stream thread.
|
String |
consumerClientId()
Client ID of the Kafka consumer used by the stream thread.
|
boolean |
equals(Object o)
Compares the specified object with this ThreadMetadata.
|
int |
hashCode()
Returns the hash code value for this ThreadMetadata.
|
Set<String> |
producerClientIds()
Client IDs of the Kafka producers used by the stream thread.
|
String |
restoreConsumerClientId()
Client ID of the restore Kafka consumer used by the stream thread
|
Set<TaskMetadata> |
standbyTasks()
Metadata of the standby tasks assigned to the stream thread.
|
String |
threadName()
Name of the stream thread
|
String |
threadState()
State of the stream thread
|
String threadState()
String threadName()
Set<TaskMetadata> activeTasks()
Set<TaskMetadata> standbyTasks()
String consumerClientId()
String restoreConsumerClientId()
Set<String> producerClientIds()
String adminClientId()
boolean equals(Object o)
true
if and only if the specified object is
also a ThreadMetadata and both threadName()
are equal, threadState()
are equal, activeTasks()
contain the same
elements, standbyTasks()
contain the same elements, mainConsumerClientId()
are equal, restoreConsumerClientId()
are equal, producerClientIds()
are equal, producerClientIds
contain the same elements, and adminClientId()
are equal.int hashCode()
Objects.hash(
threadName,
threadState,
activeTasks,
standbyTasks,
mainConsumerClientId,
restoreConsumerClientId,
producerClientIds,
adminClientId
);