public final class TopicConfig extends Object
It ensures that the topic names for a family of topics are consistent
Examples of families of topics are:
TopicTypes
for complete lists of topic families.Modifier and Type | Field and Description |
---|---|
TopicNamer |
namer
A functional interface that resolves the names of topics for a set of topics types.
|
Map<String,io.simplesource.kafka.spec.TopicSpec> |
topicSpecs
A map of topic specs per action type.
|
List<String> |
topicTypes
A list of topic types that this topic config applies to the family of topics
|
Constructor and Description |
---|
TopicConfig() |
Modifier and Type | Method and Description |
---|---|
List<TopicCreation> |
allTopics()
Builds a list of topic creations, which contains both the topic namer and the topic spec
|
public final TopicNamer namer
public final List<String> topicTypes
public final List<TopicCreation> allTopics()
Copyright © 2019. All rights reserved.