RudderStack Transformer is a service which transforms the RudderStack events to destination-specific singular events. This feature is released under under the Elastic License 2.0.
If you want to run the RudderStack Transformer inside a Docker container, follow these steps:
- Clone this repository
- Run
docker-compose up transformer
On Mac, if you don't have make and g++, you would have to install Xcode Command Line Tools using xcode-select --install.
On Linux, install the required dependencies python, make and g++ and follow these steps:
- Clone this repository
- Setup the repository with
npm run setup - Build the service with
npm run build:clean - Start the server with
npm start
If you don't need user functions, you can skip those and run a destination-only transformer.
If you want to run the RudderStack Transformer (without the user functions) inside a Docker container, follow these steps:
- Clone this repository
- Run
docker-compose up transformer-no-func
On Mac, if you don't have make and g++, you would have to install Xcode Command Line Tools using xcode-select --install.
On Linux, install the required dependencies python, make and g++ and follow these steps:
- Clone this repository
- Setup the repository with
npm run setup - Build the service with
npm run build:clean - Start the server with
npm start
Run make setup( make setup-arm in case of arm processor(M1 chip)). This operation is needed only once.
Now you can run make test.
If you wish you can destroy the cluster manually with make destroy.
If you come across any issues while setting up or running the RudderStack Transformer, feel free to start a conversation on our Slack channel.