SOW/ConflatedTopic
AMPS provides the ability to create ongoing snapshots of a SOW topic, called conflated topics (also called topic replicas in previous releases of AMPS). Conflated topics are updated on an interval, and store a snapshot of the current state of the world at each interval. This helps to manage bandwidth to clients that do not act on each update, such as a client UI that refreshes every second rather than with every update.
For compatibility with previous AMPS versions, AMPS allows you to use ReplicaDefinition
as a synonym for ConflatedTopic
.
Element | Description |
---|---|
| String used to define the name of the conflated topic. While AMPS doesn't enforce naming conventions, it can be convenient to name the conflated topic based on the underlying topic name. For example, if the underlying topic is If no |
| String used to define the SOW topic which provides updates to the conflated topic. This must exactly match the name of a SOW topic. When the underlying topic is a regular expression topic, this must match the |
| The message format of the underlying topic. This |
| The frequency at which AMPS updates the data in the conflated topic. Default: Minimum: |
| Content filter that is applied to the underlying topic. Only messages that match the content filter are stored in the conflated topic. |
| AMPS provides the ability to do fast lookup for SOW records based on specific fields. When one or more The AMPS uses a hash index when a query uses exact matching for all of the fields in the index. AMPS does not use hash indexes for range queries or regular expressions. AMPS automatically creates a hash index for the set of fields specified in the set of |
If the underlying topic of a ConflatedTopic
is a set of logical topics defined with the Pattern
element, an additional configuration parameter is required to specify the topic name that AMPS will use for each conflated topic.
Element | Description |
---|---|
| String used to format the name of the conflated topics when the underlying topic is uses a When the underlying topic is a regular expression topic, AMPS will create a conflated topic for each topic within the regular expression topic. This element specifies how AMPS will construct the name of the conflated topics produced. The For example, if the There is no default for this element. This element cannot contain characters that are significant for regular expressions (such as |
Last updated