Interface TopicReplicationConfig
- All Superinterfaces:
Config
The configuration for topic replication.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 6.11Deprecated.since 6.11boolean
Is topic replication enabled for the server.void
setEnabled
(boolean enabled) Set replication enabled.void
setExcludedPaths
(Set<String> excludedPaths) Deprecated.since 6.11void
setIncludedPaths
(Set<String> includedPaths) Deprecated.since 6.11
-
Method Details
-
isEnabled
boolean isEnabled()Is topic replication enabled for the server.This allows the replication of topics to be permitted or prevented.
- Returns:
- Is topic replication enabled
-
setEnabled
void setEnabled(boolean enabled) Set replication enabled.- Parameters:
enabled
- Is replication enabled
-
getIncludedPaths
Deprecated.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
-
setIncludedPaths
Deprecated.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 nullConfigException
- If the paths to include are non-empty and the excluded paths are already set to a non-empty value
-
getExcludedPaths
Deprecated.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
-
setExcludedPaths
Deprecated.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 nullConfigException
- If the paths to exclude are non-empty and the included paths are already set to a non-empty value
-