Attach an adapter by inserting it in the diagram, connecting it to a stream or window, and setting properties.
This example shows you how to insert an adapter, enable it for schema discovery, then generate and attach the input window and its schema automatically. This is the best practice for adapters that support it.
Alternatively, ESP Studio allows you to create the stream or window and then attach an adapter. Use this method for adapters that do not support schema discovery, or where you want to explicitly create an inline schema for input streams or windows.
For a list of adapters that support schema discovery, and descriptions of properties to configure, see the Studio Users Guide.