Manage the Connect Agent
Start the Connect Agent
To start the Connect Agent, run the command:
./connect-agent.sh
To verify that the Connect Agent is running, confirm that the connect-agent.sh script completed without errors, and then run:
docker ps
Verify that postgres and connect-agent are healthy and vector is Up.
The connect-agent.sh script passes arguments directly to docker compose. Refer to the examples provided below.
|
The start-connect-agent.sh script is included in this installation for backward compatibility with older versions. When run, it displays a message directing the user to use connect-agent.sh instead. The start-connect-agent.sh script is automatically removed after the first run of connect-agent.sh.
|
Stop the Connect Agent
You can stop the Connect Agent using the down argument.
./connect-agent.sh down
Connect Agent Logs
You can view the Connect Agent logs using the logs -f arguments.
./connect-agent.sh logs -f
Monitor the Connect Agent
You can monitor the Connect Agent using one of the following commands:
./connect-agent.sh top
./connect-agent.sh exec vector vector top
Manage the Connect Agent
The Connect Agent flows and resources are deployed differently than in a standard Connect installation. See the Connect Agent Deployments guide for more information.
After you deploy a flow to Connect Agent, its flow traces will appear in Heartbeat alongside your other flows. See the Filtering Connect Agent data for more information. Deployed flows will also appear in the Flows page in Heartbeat.
Upgrade the Connect Agent
The Connect Agent installation may be upgraded by following the below steps:
-
Visit the connect-releases repository.
-
Optional: Download the
connect-agent-cache-container-{version}.tgzfile to your deployment machine. -
Optional: Load the cache container contents to your local environment (see here for more details).
-
Download the
connect-agent-{version}.zipfile to your installation directory. -
Extract the zip file to your installation directory (see here for more details).
-
Start the Connect Agent (see here for more details).
| If you are deploying to a machine with network access to the Artifactory, you can skip the optional cache container steps described above. |