Scaling Firebase Remote Config Using Kotlin, Cloud Functions, and the Firebase Admin SDK
summary
Builds a Cloud Function in Kotlin that listens to google.firebase.com pubsub events, fetches specific Remote Config templates via the Firebase Admin SDK, and posts Slack alerts. Adds formatted diffs using java-diff-utils so the message shows exactly which parameters and conditions were added removed or updated. Implements validation hooks that trigger an automatic rollback to version minus one when values fail type or range checks. Provides a local CLI (built with Clikt) to promote parameters from dev to prod and publishes the updated template when confirmations pass.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:33Why we scaled Remote Config
- 13:04Firebase Admin SDK
- 17:37Cloud Functions for automation
- 27:46Slack notifications for changes
- 33:05Enhanced diff notifications
- 37:59Validation and rollback automation
- 45:18CLI tool for environment promotion
- 51:44Summary
related talks
43mEasy, scalable backends for Android developers
31mLet's start using Firebase
40mEasy, Scalable Backends for Android Developers
59mMastering Feature Flags: Best Practices with Firebase Remote Config
47mZero to App Live coding an Android app on Firebase in Kotlin
50mFirebase and Android Jetpack: Fit Like a Glove
33mReleasing and monitoring your Android app with Firebase
45mFirebase and Android, a real-time match synced in heaven
