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