No commit activity in last 3 years
No release in over 3 years
Embulk input plugins for Redis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
>= 0.9.2

Runtime

>= 3.0.5
 Project Readme

Embulk input plugin for Redis

Generic

Overview

  • Plugin type: input
  • Resume supported: no

Configuration

  • host: Hostname of the Redis server (string, default: "localhost")
  • port: Port of the Redis server (integer, default: 6379)
  • db: Database number (integer, default: 0)
  • key_prefix: Key prefix for input/output plugin (string, default:"")
  • encode: Encoding in Redis (string, default: "json")
  • json: Stored as a JSON string. GET/SET commands can access it
  • hash: Stored as a Hash. H* commands such as HMGET/HMSET can access it
  • columns: Hash records that has the following two fields (array, default:[])
  • name: Name of the column
  • type: Column types as follows
    • boolean
    • long
    • double
    • string
    • timestamp

Example

in:
  type: redis
  host: localhost
  port: 6379
  db: 0
  key_prefix: user_
  encode: json
  columns:
  - {name: id, type: long}
  - {name: account, type: long}
  - {name: time, type: timestamp}
  - {name: purchase, type: timestamp}
  - {name: comment, type: string}
  - {name: admin, type: boolean}