Interface FanOutConfig
- All Superinterfaces:
Config
Deprecated.
Fan-out configuration.
Fan-out is defined as the replication of topics from primary servers (maintaining the 'source' or 'master' versions of the topics) to one or more secondary (or 'edge') servers. Updates to replicated topics on a primary server are fanned out to the replica topics on the secondary servers.
This configuration is used to define fan-out requirements for a secondary server. It is possible to define one or more connections to primary servers in order to replicate all or parts of the topic tree of the primary server(s) to the secondary server.
There can only be one connection defined to any one primary server. The topics to replicate are defined in terms of one or more links representing selections of the topic tree to replicate.
- Since:
- 5.6
-
Method Summary
Modifier and TypeMethodDescriptionaddConnection
(String name, String url) Deprecated.Add a new connection to a primary server.getConnection
(String name) Deprecated.Get a named fan-out connection.Deprecated.Get the configured list of primary server connections.
-
Method Details
-
addConnection
Deprecated.Add a new connection to a primary server.- Parameters:
name
- the name of the connectionurl
- the URL associated with the connection- Returns:
- a new configuration object representing the connection. At least one replication link should be added to the connection for it to be functional.
- Throws:
ConfigException
- if name or url not supplied or there is already a connection with the same name or url- Since:
- 6.0
-
getConnection
Deprecated.Get a named fan-out connection.- Parameters:
name
- the name of the connection.- Returns:
- a configuration object representing the connection.
- Since:
- 6.0
-
getConnections
List<FanOutConnectionConfig> getConnections()Deprecated.Get the configured list of primary server connections.- Returns:
- list of configured primary server connections
-
Fan-out is deprecated and will be removed in a future release. Use Remote Servers in preference.