- Install Python 3.7
- [Optional] Install virtualenv
python -m pip install --user virtualenv
- Clone this repository
- [Optional] Setup python virtual environment
python -m venv venv
- [Optional] Activate virtual environment:
1.1 MacOS:
source venv/bin/activate
1.2 Windows:source venv/Scripts/activate
pip install -r requirements.txt
- navigate to opentelemetry-intro directory
- Execute
SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_consumer_REST.py.py
- navigate to opentelemetry-intro directory
- Execute
SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_consumer_Database.py
- navigate to opentelemetry-intro directory
- Execute
SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python solace_telemetry_publisher_Salesforce.py
- Codelab associated with this repo can be found on Solace Codelabs
- More information on the Solace Python API can be found on the Solace Community