DiffusionTM Server API 6.5.3
public interface FanOutConfig extends Config
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.
Routing topics are replicated to secondary servers. The secondary server must have a local routing topic handler to resolve subscriptions to routing topics.
|Modifier and Type||Method and Description|
Add a new connection to a primary server.
Get a named fan-out connection.
Get the configured list of primary server connections.
FanOutConnectionConfig addConnection(String name, String url) throws ConfigException
name- the name of the connection
url- the URL associated with the connection
ConfigException- if name or url not supplied or there is already a connection with the same name or url
FanOutConnectionConfig getConnection(String name)
name- the name of the connection.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.