The current version of hello_world.py at d6790e2 does not work well, it seems that within Airflow data must be saved to a database through a hook function, but there is currently no function for Mongo. There's a plan for developing it, and a couple of gists, but nothing really usable yet. It's not possible to save data to Mongo yet.
There's a hook and a sensor for Redis, though.
One option would be to save data as JSON or JSONB to Postgres, and then export it to Mongo in the end, hopefully with a specific operator in Airflow or with something else (NiFi #5 ? which could also be used for streaming data, which airflow cannot handle).
The current version of hello_world.py at d6790e2 does not work well, it seems that within Airflow data must be saved to a database through a hook function, but there is currently no function for Mongo. There's a plan for developing it, and a couple of gists, but nothing really usable yet. It's not possible to save data to Mongo yet.
There's a hook and a sensor for Redis, though.
One option would be to save data as JSON or JSONB to Postgres, and then export it to Mongo in the end, hopefully with a specific operator in Airflow or with something else (NiFi #5 ? which could also be used for streaming data, which airflow cannot handle).