Using the Chronicle Connection Data Construct to Share Data

A Chronicle Connection is a data construct that enables a StreamBase EventFlow application to share data from an external, persistent Chronicle Database. When connected to a Chronicle Connection (instead of to a Query Table or JDBC Table), a Query operator can manipulate the Chronicle data together with tuples from the application's input streams. Chronicle Connections can be associated with multiple Query operators, but each Query operator can be associated only with one Chronicle Connection.

This topic describes the actions you can take on each tab of the Chronicle Connection's Properties view. The procedures assume that you have declared a Chronicle data source in the project's sbd.sbconf configuration file, and added a Chronicle Connection data construct to your application diagram.

For general information about data constructs, see Using Data Constructs

General Tab

Name: Every application component must have a unique name. Use this field to specify or change the component's name. The name must contain only alphabetic characters, numbers, and underscores, and no hyphens or other special characters. The first character must be alphabetic or an underscore.

Description: Optionally, enter a description to briefly describe the component's purpose and function. In the EventFlow canvas, you can see the description by pressing Ctrl while the component's tooltip is displayed.

Connection Tab

In the Connection tab, choose the Chronicle data source you want to use from the dropdown list. The list contains the name of every Chronicle data source declared in the data-sources section of the current project's sbconf file.