项目作者: syucream

项目描述 :
Google Cloud Firestore input plugin for Embulk.
高级语言: Scala
项目地址: git://github.com/syucream/embulk-input-firestore.git
创建时间: 2019-12-31T15:57:56Z
项目社区:https://github.com/syucream/embulk-input-firestore

开源协议:MIT License

下载


embulk-input-firestore

Gem Version

Google Cloud Firestore input plugin for Embulk.

You can use filter plugins such as embulk-filter-expand_json or embulk-filter-add_time to convert the json column to typed columns. Rename filter is also useful to rename the typed columns.

Overview

  • Plugin type: input
  • Guess supported: no

Configuration

  • project_id: GCP project_id (string, required)
  • json_keyfile: path to GCP credential json file (string, required)
  • sql: A query string to fetch documents from Firestore (string, required)
  • json_column_name: column name used in outputs (string, optional, default: “record”)

NOTE

Example

  1. in:
  2. type: firestore
  3. project_id: "your-project-id"
  4. json_keyfile: path/to/credential.json
  5. sql: "SELECT id, name, created_at FROM users"
  6. out:
  7. type: stdout

Development

shell script $ ./gradlew gem