Setting Output Adapter Properties

An output adapter is a program, usually running in the same server process as your StreamBase application, that converts data from the StreamBase tuple protocol to a different protocol used by an external program or data source. After adding an output adapter to an EventFlow canvas in StreamBase Studio, select its icon in the canvas to open its Properties view.

The Properties view for each adapter differs according to the capabilities offered by each adapter. The Properties view for output adapters always has a General tab, a Concurrency tab, and at least one Adapter Properties tab. Many adapters also have an Edit Schemas tab to specify the schema of data expected to be streamed into the adapter.

Properties: General Tab

Name: Use this required field to specify or change the name of this instance of this component, which must be unique in the current EventFlow module. 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.

Adapter: A read-only field that shows the formal name of the adapter.

Start with application: If this field is set to Yes (default) or to a module parameter that evaluates to true, this instance of this adapter starts as part of the JVM engine that runs this EventFlow module. If this field is set to No or to a module parameter that evaluates to false, the adapter instance is loaded with the engine, but does not start until you send an sbadmin resume command, or until you start the component with StreamBase Manager.

Enable Error Output Port: Select this check box to add an Error Port to this component. In the EventFlow canvas, the Error Port shows as a red output port, always the last port for the component. See Using Error Ports to learn about Error Ports.

Description: Optionally enter text 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.

Properties: Adapter Properties Tabs

Use the adapter properties tab or tabs to configure the unique properties of each adapter. Some adapters have a single tab in the Properties view named Adapter Properties. Other adapters have property settings spread out over multiple tabs.

Refer to the Properties section of each adapter's topic in the Adapters Guide to understand how to set the properties for each adapter.

Properties: Concurrency Tab

Use the Concurrency tab to specify parallel regions for this instance of this component, or multiplicity options, or both. The Concurrency tab settings are described in Concurrency Options, and dispatch styles are described in Dispatch Styles.

Caution

Concurrency settings are not suitable for every application, and using these settings requires a thorough analysis of your application. For details, see Execution Order and Concurrency, which includes important guidelines for using the concurrency options.