Build and run ODD Collectors
Developer guide on how to build and run ODD Collectors
Last updated
Developer guide on how to build and run ODD Collectors
Last updated
For instructions on how to run the ODD Platform and ODD Collectors locally in a Docker environment, please follow article.
There are 3 main collectors at the moment:
**** **** — covering databases, BI tools, data warehouses, etc
**** — covering AWS services
**** **** — covering GCP services
While ODD Collector AWS and ODD Collector GCP use and Google SDKs respectively, ODD Collector has a bunch dependencies for each data source.
General tech stack is:
Python
Poetry
asyncio
Python 3.9.1
1.2.0
preferably the latest
Fork and clone a repository if you haven't done it already.
Go into the repository's root directory
Run the following command, replacing <tag>
with any tag name you'd like
Go into the repository's root directory
Run following commands to create local python environment and install dependencies
Change your python context to created one.
Run ODD Collector locally using following command:
Add new integration plugin derived from BasePlugin
and register it in PluginFactory
Each adapter module (i.e odd_collector.adapters.my_adapter
) must have adapter.py
python file. That file must have class derived from AbstractAdapter.
libraries pyodbc
, confluent-kafka
and grpcio
have problem during installing and building project on M1 Macbooks.
Possible solution:
In order to run ODD Platform locally please follow .
Create collector in the ODD Platform and copy created token using .
Configure collector-config.yaml
using as an example. Replace <COLLECTOR_TOKEN>
with token obtained in the previous step.
Please use for making forks and pull requests