Interface TopicIdentityRegistry
public interface TopicIdentityRegistry
-
Method Summary
Modifier and TypeMethodDescriptionfindById(org.apache.kafka.common.Uuid id) Find a topic identity by its idfindByName(String name) Find a topic identity by its namevoidput(TopicIdentity topicIdentity) Put a topic identity in the registry
-
Method Details
-
findByName
Find a topic identity by its name- Parameters:
name- the name of the topic.- Returns:
- Optional of
TopicIdentity
-
findById
Find a topic identity by its id- Parameters:
id- Uuid of the topic.- Returns:
- Optional of
TopicIdentity.
-
put
Put a topic identity in the registry- Parameters:
topicIdentity-TopicIdentity
-