Interface TopicReplicationConfig
- All Superinterfaces:
- Config
The configuration for topic replication.
- Since:
- 5.0
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.since 6.11Deprecated.since 6.11booleanIs topic replication enabled for the server.voidsetEnabled(boolean enabled) Set replication enabled.voidsetExcludedPaths(Set<String> excludedPaths) Deprecated.since 6.11voidsetIncludedPaths(Set<String> includedPaths) Deprecated.since 6.11
- 
Method Details- 
isEnabledboolean isEnabled()Is topic replication enabled for the server.This allows the replication of topics to be permitted or prevented. - Returns:
- Is topic replication enabled
 
- 
setEnabledvoid setEnabled(boolean enabled) Set replication enabled.- Parameters:
- enabled- Is replication enabled
 
- 
getIncludedPathsDeprecated.since 6.11The ability to include or exclude paths will be removed in a future release. The paths of the topic tree that will be included for replication.- Returns:
- The set of paths
 
- 
setIncludedPathsDeprecated.since 6.11The ability to include or exclude paths will be removed in a future release. Set the paths of the topic tree to include for replication.- Parameters:
- includedPaths- The set of included topic paths
- Throws:
- NullPointerException- If included paths is null
- ConfigException- If the paths to include are non-empty and the excluded paths are already set to a non-empty value
 
- 
getExcludedPathsDeprecated.since 6.11The ability to include or exclude paths will be removed in a future release. The topic paths that will be used to exclude topics from replication.- Returns:
- The set of paths
 
- 
setExcludedPathsDeprecated.since 6.11The ability to include or exclude paths will be removed in a future release. Set the excluded paths.- Parameters:
- excludedPaths- The set of excluded topic paths
- Throws:
- NullPointerException- If excluded paths is null
- ConfigException- If the paths to exclude are non-empty and the included paths are already set to a non-empty value
 
 
-