From 7eea71877dcf240073d114ee424958c6fa40e6b7 Mon Sep 17 00:00:00 2001 From: niemijoe Date: Fri, 16 Sep 2022 14:52:23 +0300 Subject: [PATCH] Start listening to gtfs-rt feedmessage-vehicleposition storage size --- README.md | 2 ++ pulsar_data_collector.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 45880a9..762a72f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Have `.env` file at the project directory containing all of the secret values (y To run `pulsar_data_collector.py`, you need to have a tunnel open to pulsar_dev_proxy so that `ADMIN_URL` env variable points to pulsar admin's port. +Also make sure that NAMESPACE value is correct in .env + and then run either: ``` python3 pulsar_data_collector.py diff --git a/pulsar_data_collector.py b/pulsar_data_collector.py index a5d11b3..c05e451 100644 --- a/pulsar_data_collector.py +++ b/pulsar_data_collector.py @@ -38,7 +38,8 @@ ] TOPIC_NAMES_TO_COLLECT_STORAGE_SIZE = [ - "hfp/v2" + "hfp/v2", + "gtfs-rt/feedmessage-vehicleposition" ]