- https://firebase.google.com/docs/firestore
- https://cloud.google.com/firestore/docs/reference/rest
- https://cloud.google.com/iam/docs/service-accounts
- Monitors Firestore collections for document changes.
- Captures document create, update, and delete events.
- Authenticates using Google Cloud Service Account credentials.
- Converts Firestore events into structured JSON.
- Publishes events into Kafka-native Condense topics.
- The connector authenticates using a Google Cloud Service Account.
- It connects to the configured Firestore collection.
- Firestore snapshot listeners monitor document changes.
- Each change is converted into a structured JSON event.
- Events are published into the configured Kafka-native Condense topic.
Field-by-Field Explanation
1. Title
Unique identifier for the connector.
Example:
Firestore_Input_Connector
2. Firebase Project ID
Identifier of the Firebase project hosting Firestore.
Example:
my-firebase-project
3. Service Account Key
JSON credentials for a Google Cloud Service Account with Firestore read access.
Generate the key from:
Firebase Console → Project Settings → Service Accounts
4. Firestore Collection Path
Collection or subcollection to monitor.
Examples:
- telemetry_data
- fleet/vehicle_logs
- ADDED
- MODIFIED
- REMOVED
firestore_input_stream
Sample Configuration Example
- ADDED
- MODIFIED
- REMOVED
- Use separate Kafka-native topics for different Firestore collections.
- Capture only the required event types.
- Use dedicated Service Accounts with least-privilege access.
- Rotate Service Account credentials periodically.
- Monitor connector health and event throughput using Condense observability tools.