Interface TopicReplicationConfig

All Superinterfaces:
Config

public interface TopicReplicationConfig extends Config
The configuration for topic replication.
Since:
5.0
  • 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 Set<String> getIncludedPaths()
      Deprecated.
      since 6.11

      The 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 void setIncludedPaths(Set<String> includedPaths) throws ConfigException
      Deprecated.
      since 6.11

      The 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
    • getExcludedPaths

      @Deprecated Set<String> getExcludedPaths()
      Deprecated.
      since 6.11

      The 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 void setExcludedPaths(Set<String> excludedPaths) throws ConfigException
      Deprecated.
      since 6.11

      The 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