Persistent Subscribe Pattern (PSP) is used to implement Guaranteed Delivery (GD) in
output adapters. PSP involves a combination of an input window, a control window (also known
as a truncate window), and a Flex operator with a log store.
- Choose the window you would like to support GD.
- (Optional) If a window that you want to support GD doesn't already exist, create a
new window:
- In the Visual editor Palette, in Streams and Windows, click Input
Window.
- Select a location in the diagram and click to add the shape.
- Right click the window and select Modify>Add Persistent Subscribe
Pattern.
- In the Select Store dialog, select either Create New Store
or an existing store, and then click OK.
A Flex operator, named <input window name>_log<number>
and a truncate window named <input window
name>_truncate<number> are created. The truncate window and the
input window connect automatically to the Flex operator.
Note: Though you have created a PSP, it can only implement GD if you attach an
appropriate output adapter to the Flex operator.