- To install all the dependencies execute
pipenv install --dev
-
Create a Pub/Sub topic
-
Create a .env file with the following content:
GOOGLE_CLOUD_PROJECT=your_project topic=projects/PROJECT/topics/TOPIC
To execute the pipeline run
pipenv shell
python -m pipeline.pipeline \
--runner DirectRunner \
--input_topic $topic
Once the pipeline is runnung execute the "publish_messages.py"