Show TOC

Stopping the AdapterLocate this document in the navigation structure

Stop the adapter either in unmanaged, managed, or cluster-managed mode. In unmanaged and cluster-managed mode, the adapter is stopped separately from the ESP project, and in managed mode, the adapter is stopped with the ESP project. In unmanaged mode, you can stop the adapter from the command line or using the stop command files.

Procedure


Mode Steps
Unmanaged, from the command line
  • Open a terminal window and navigate to STREAMING_HOME/adapters/framework/instances/<adapter-name>
    Note STREAMING_HOME refers to the environment variable. In Windows, enter %STREAMING_HOME%. In Unix, enter $STREAMING_HOME.
  • Enter stop_adapter.bat <adapter-config-file> (Windows) or ./stop_adapter.sh <adapter-config-file> (Unix)
Unmanaged
From the adapter directory:
  1. Stop the ESP node by running stop_node.bat or stop_node.sh in the adapter instance folder.
  2. Stop the adapter by running stop_adapter.bat or stop_adapter.sh
Managed
  1. Stop the project to which the adapter is attached:
    STREAMING_HOME/bin/streamingclusteradmin
    --uri=esp[s]://localhost:19011 --username=<name> --password=<password> --
     stop project <workspace-name>/<project-name>

    You can also stop the adapter by issuing the stop adapter command from the streamingprojectclient tool.

Cluster-Managed Mode
  1. Stop the adapter.
    STREAMING_HOME/bin/streamingclusteradmin --uri=esp[s]://localhost:19011
    --username=<name> --password=<password> --stop_adapter --
    workspace-name=<workspacename> --adapter-name=<adaptername>