Skip to main content
Version: 8.3 Beta 🚧

Types of Sources

This page details each source available for event streams.

Kafka​

The Kafka source will subscribe to a Kafka topic and wait for event payloads. Data within the payload will be stored as byte[], but can be changed to a different format during the encoder stage.

The Kafka source can be configured with the following properties.

PropertyDescription
Subscription TypeThe way you want to receive Kafka event objects. Options include:
  • Consumer Group: Receives events from a specified consumer group using the GroupID and Offset Reset properties.
  • Partition: Receives events from a specified partition using the Partition and Offset properties.
ConnectorThe specific Kafka connector you want to use, configured in the Kafka Connector Gateway Webpage.
TopicThe specific topic you want to subscribe to, selectable within the dropdown menu. You can also use an expression to subscribe to multiple topics.
Group IDThe ID of the consumer group you want to subscribe to. This property will be used in conjunction with with the Consumer Group subscription type.
PartitionThe partition you want to subscribe to. This property will be used in conjunction with the Partition subscription type.
Max RecordsThe maximum number of records you want returned on each poll. Default is 500.
Poll TimeoutThe maximum amount of time the poll will wait before beginning the next poll, in milliseconds. Default is 100 milliseconds.
Offset ResetThe initial offset when first connecting to the Kafka broker. This property will be used in conjunction with the Consumer Group subscription type.
OffsetThe offset to start at when polling. Options include:
  • Latest
  • Earliest
  • None
This property will be used in conjunction with the Partition subscription type.
Additional Consumer PropertiesAllows a user to specify any other consumer properties you want to add, as key value pairs. See the official Kafka documentation for available consumer configurations.

Kafka Source Properties

HTTP​

The HTTP source accepts HTTP POST and HTTP PUT requests to receive event objects, and will be automatically mounted at /system/eventstream/{projectName}/{resourcePath}.

The HTTP source can be configured with the following properties.

PropertyDescription
Require HTTPSWhether or not HTTPS is required to receive event objects. Default is true.
Require AuthenticationWhether or not authentication is required to receive event objects. Default is false.
User SourceThe user source to use if the Require Authentication property is enabled. Disabled by default.
Required RolesThe roles required, if any, that a user within the User Source property must have for authentication. Disabled by default.
Max Auth RetriesThe number of authentication retries allowed. Disabled by default.

HTTP Source

Event Listener​

The Event Listener source receives events containing a payload of serializable data from another part of Ignition, such as Gateway Messages or other event streams. Unlike other sources, the Event Listener source is not configurable.

Event Listener Source

Tag Event​

The Tag Event source listens for any changes to a tag's timestamp, value, or quality. Users can subscribe to a single tag path, or a list of tag paths, configurable through the Insert Tag Insert Tag Icon icon on the right. You can use wildcards at the folder level to help specify a path, but not at the tag level.

Data within the payload is stored as a Java object. The Tag Event source can be configured so that only a scalar value is published or the entire qualified value, comprised of the tag path, timestamp, value, and quality, is published.

The Tag Event source can be configured with the following properties.

PropertyDescription
ValueWhether or not changes to the specified tag(s) value will trigger the event stream. Default is true.
QualityWhether or not changes to the specified tag(s) quality will trigger the event stream. Default is true.
TimestampWhether or not changes to the specified tag(s) timestamp will trigger the event stream. Default is true.
Skip Initial ValueWhether or not the initial values captured when saving configuration changes will trigger the event stream. Default is false.
Tag Path(s)The area of the Tag Event source where tag path(s) are specified, with each line being a new item. You can enter tag paths manually, or use the Insert Tag icon on the right to specify a path. Tag paths will be validated as you type.

Tag Event Source

Data and Metadata​

Each source may contain various elements that can be extracted using expressions in the handler. See the Source Data and Metadata page to learn more about which components can be extracted.