public final class PrefixResourceNamingStrategy extends Object implements ResourceNamingStrategy
| Constructor and Description | 
|---|
| PrefixResourceNamingStrategy() | 
| PrefixResourceNamingStrategy(String prefix) | 
| PrefixResourceNamingStrategy(String prefix,
                            String separator) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | topicName(String aggregateName,
         String topicEntity)Generate the Kafka topic name to use for a given aggregate domain. | 
public PrefixResourceNamingStrategy()
public PrefixResourceNamingStrategy(String prefix)
public String topicName(String aggregateName, String topicEntity)
ResourceNamingStrategytopicName in interface ResourceNamingStrategyaggregateName - name of the domain aggregatetopicEntity - entities stored in this topicCopyright © 2019. All rights reserved.