Auto-publishing module configuration
Transformer has an autopublishing module that allows it to automatically broadcast updated data to connected DataSource peers, even though it is an active DataSource application. The add-autopub
configuration item enables you to specify the subjects that you want Transformer to automatically broadcast.
Transformer’s auto-publishing configuration must be kept in a separate configuration file called autopub.conf. If you’re using the Deployment Framework, put changes and additions to this configuration in <Framework-root>/global_config/overrides/servers/Transformer/etc/autopub.conf where <Framework-root> is the Deployment Framework’s topmost directory.
|
add-autopub
add-autopub
specifies one or more subject names (symbols) for which updates can be automatically published (broadcast) to connected DataSource peers, and the conditions under which they’ll be published. You can specify multiple add-autopub
items for different sets of subjects.
Syntax:
add-autopub id [string] add-symbol [array of strings] add-regex [array of strings} disable-by-default [boolean] distribute-on-peer-up [boolean] listener-flags [integer] peer-label [array of strings] send-only-if-primary [boolean] send-only-once [boolean] end-autopub
Option | Type | Default | Description |
---|---|---|---|
array of strings |
[none] |
One or more space separated regular expressions that determine subjects for which updates are automatically broadcast. For example: The autopublishing module broadcasts updates for all the subjects specified by |
|
array of strings |
[none] |
One or more space separated subject names for which updates are automatically broadcast. For example: The autopublishing module broadcasts updates for all the subjects specified by |
|
boolean |
|
This option only applies to LUA-based pipelines. When this option is The default value of For details of the above API functions, see the Autopub Module: Pipeline Functions page in the Transformer Pipeline Module API documentation. |
|
boolean |
|
When this option is When the option is |
|
string |
[automatically generated - see description] |
A unique identifier for this The default if you don’t explicitly define an |
|
integer |
|
Flags that control how the autopublishing module listens for updates that are to be broadcast. Values are:
|
|
array of strings |
(none) |
A space-separated list of Datasource peers. Updates for subjects defined by this |
|
boolean |
|
When |
|
boolean |
|
When this option is When the option is This could be useful in a failover situation. For example, assume
where Then when |
hashtable-size
hashtable-size
specifies the size elements of the hash table that keeps track of the publish state.
Syntax: hashtable-size <size-in-table-elements>
Type: integer
Default value: 10000
hash table elements