Tips for Migrating Your Open Adapter Scripts

Tips for migrating your Open adapter scripts from Aleri Streaming Platform (ASP) to Event Stream Processor.

When migrating your scripts from Aleri Streaming Platform to Event Stream Processor:
  • Set the $ESP_ADAPTER_HOME environment variable to <ESP_HOME>\adapters\open_adaptor.
  • Add -Djava.library.path=$ESP_ADAPTER_HOME/lib to the Java command when you invoke the adapter. For example:
    $JAVA_HOME/bin/java
    $AUTH -Djava.library.path=$ESP_ADAPTER_HOME/lib -cp $CP org.openadaptor.adaptor.RunAdaptor fileToAsap.props adaptor
  • In the AsapSource, SpPersistentSubscriberSource, and AsapSink property files, enable authentication by setting (only) one of these three properties to true:
    • UseUserPassword
    • UseKerberos
    • UseServerRSA
    See AsapSource Properties, SpPersistentSubscribeSource Properties, and AsapSink Properties for additional details on these properties.

Database Sources and Sinks

The ESP Open adapter has two source components, AsapSource and SpPersistentSubscribeSource, and two sink components, AsapSink and WSSink. When migrating your sources and sinks from ASP to their ESP equivalents, review the Open adapter source properties and sink properties and make changes as required. See Source Components and Sink Components for more information.

Most ASP Open adapter database sources are not available in the ESP Open adapter, but have equivalents in ESP input adapters:

Likewise, most ASP Open adapter database sinks have equivalents in ESP output adapters:

Related concepts
JDBC Input and Output Adapter
TIBCO Rendezvous Adapter
WebSphere MQ Adapter
Related reference
AsapSource Properties
SpPersistentSubscribeSource Properties
AsapSink Properties