docs: Add redis docs

Closes: https://github.com/appbaseio/abc/issues/116
上级 0c62a9e4
......@@ -104,6 +104,13 @@ For more source URL patterns, see [go-sql-driver/mysql](https://github.com/go-sq
abc import --src_type=postgres -t --replication_slot="standby_replication_slot" --src_uri="postgresql://USER:PASS@HOST:PORT/DBNAME" "https://USER:PASS@scalr.api.appbase.io/APPNAME"
```
### Redis
```sh
abc import --src_type=redis --src_uri="redis://USER:PASS@HOST:PORT/DBNUMBER" "https://USER:PASS@scalr.api.appbase.io/APPNAME"
```
### Using a config file
```sh
......
# Redis adaptor
- The [redis](http://redis.io/) adaptor is capable of reading different data structures stored in a Redis database and transfer them to Elasticsearch.
**Note:** Two redis data structures (bitmaps and hyperloglogs) are not supported by the redis adaptor yet. They are indexed as string types however but the appbaseio browser will show non-human readable values for these data structures and hence it is recommended not to index these data structures from your redis DB.
## Usage
`abc import --src_type=redis --src_uri="<redis db url>" "<destination url>"`
## Example
`abc import --src_type=redis --src_uri="redis://localhost:6379/0" appbase-redis-demo`
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册