SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Where to Place the Custom Adapter Files

Place the files we have created and edited for our Custom Adapter in the correct directory.

Overview

🎓 intermediate 15 min. SAP HANA Streaming AnalyticsIntermediateInternet Of ThingsSAP HANAExpress Edition

You will learn

  • โœ”Where to place the Custom Adapter Files on the server
  • โœ”Where to place the Custom Adapter Files on the client
  • โœ”How to access your Custom Adapter in HANA Studio
Robert Waywell R Robert Waywell January 15, 2025
Created by March 13, 2018
Contributors

Prerequisites

Steps

Next Steps

Time to Complete

15 Min


Intro

The files for the custom adapter include the:

  • mqtt-input.jar and org.eclipse.paho.client.mqttv3-<version>.jar files
  • adapter_config.xml file
  • mqtt_input.cnxml file
  • edited versions of the modulesdefine.xml, custommodulesdefine.xml, and parametersdefine.xsd files

The directory paths for these files will be relative to the STREAMING_HOME and STREAMING_CUSTOM_ADAPTERS_HOME environment variables. The streaming home environment variables are %STREAMING_HOME% and %STREAMING_CUSTOM_ADAPTERS_HOME% for Windows, and $STREAMING_HOME and $STREAMING_CUSTOM_ADAPTERS_HOME for Unix operating systems (please edit the below paths according to your intention). The rest of the directory path relative to the STREAMING_HOME environment variable is the same on both Linux and Windows.

Step 1 Client Side (HANA Studio)
โ€”

Assuming you used the default install location, then the local Windows Streaming Analytics $STREAMING_HOME will be

<Hana Studio installation location>\plugins\com.sybase.cep.studio.native.bins_<version>.<timestamp>
and the $STREAMING_CUSTOM_ADAPTERS_HOME will be

`<Hana Studio installation location>\plugins\com.sybase.cep.studio.native.bins_``<version>`.`<timestamp>``\adapters\framework`
relative to your `IDE`'s directory.
FilesNew Path
mqtt-input.jar
org.eclipse.paho.client.mqttv3-&lt;version&gt;.jar
$STREAMING_CUSTOM_ADAPTERS_HOME/libj
adapter_config.xml$STREAMING_HOME/adapters/framework/instances/mqtt_input
Note: You will need to create the mqtt_input folder
mqtt_input.cnxml$STREAMING_HOME/lib/adapters
modulesdefine.xml$STREAMING_HOME/adapters/framework/config
custommodulesdefine.xml
parametersdefine.xsd
$STREAMING_CUSTOM_ADAPTERS_HOME /config
Step 2 Server Side
+
Step 3 Access your Custom Adapter in HANA Studio
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 3
1. Client Side (HANA Studio) 2. Server Side 3. Access your Custom Adapter in HANA Studio

Learn more →