On Firebase user creation, publish user data to a PubSub topic named "NEW_USER".
The published messages will be consumed by another service such as: on_user_creation_microservice.
See also: How to connect a Cloud Function to a Dart microservice with Pub/Sub
Clone this repo into a separate directory from your project (so we don't confuse the firebase tool) and update PROJECT_NAME
in .firebaserc
to your Firebase project name. Then deploy:
cd publish_new_user_data_firebase_extension/functions
npm install
firebase deploy
- Super easy installation and configuration via a console tool, see:
- Publish messages on deletion events