Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.42 KB

nycmoderntaxi

Env setup

  1. Install Python 3.7
  2. [Optional] Install virtualenv python -m pip install --user virtualenv
  3. Clone this repository
  4. [Optional] Setup python virtual environment python -m venv venv
  5. [Optional] Activate virtual environment: 1.1 MacOS: source venv/bin/activate
    1.2 Windows: source venv/Scripts/activate

Install Dependencies

  1. pip install -r requirements.txt

How to run

REST consumer intro

  1. navigate to opentelemetry-intro directory
  2. Execute SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_consumer_REST.py.py

Database consumer intro

  1. navigate to opentelemetry-intro directory
  2. Execute SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_consumer_Database.py

Publisher intro

  1. navigate to opentelemetry-intro directory
  2. Execute SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_publisher_Salesforce.py

Notes

  1. Codelab associated with this repo can be found on Solace Codelabs
  2. More information on the Solace Python API can be found on the Solace Community