Firestore
Kubemq gcp-firestore target connector allows services using kubemq server to access google firestore server.
Prerequisites
The following required to run the gcp-firestore target connector:
kubemq cluster
gcp-firestore set up in native mode
kubemq-source deployment
Configuration
firestore target connector configuration properties:
Properties Key | Required | Description | Example |
project_id | yes | gcp firestore project_id | "/myproject" |
credentials | yes | gcp credentials files | "<google json credentials" |
Example:
Usage
Add Key
add a key under collection
Add Key metadata setting:
Metadata Key | Required | Description | Possible values |
method | yes | type of method | "add" |
collection | yes | the name of the collection to sent to | "collection name" |
Example:
get Values by document key
get values by key under collection
Get Key metadata setting:
Metadata Key | Required | Description | Possible values |
method | yes | type of method | "document_key" |
collection | yes | the name of the collection to sent to | "collection name" |
document_key | yes | the name of the key to get his value | "valid existing key" |
Example:
get all Values
get all values under collection
Get all metadata setting:
Metadata Key | Required | Description | Possible values |
method | yes | type of method | "documents_all" |
collection | yes | the name of the collection to sent to | "collection name" |
Example:
delete key
delete key in collection
Delete key metadata setting:
Metadata Key | Required | Description | Possible values |
method | yes | type of method | "delete_document_key" |
collection | yes | the name of the collection to sent to | "collection name" |
document_key | yes | the name of the key to delete his value | "valid existing key" |
Example:
Last updated