From e7a4512a90ff7ce091d76a419ec320b0cacc2136 Mon Sep 17 00:00:00 2001 From: Praveen raj Mani Date: Fri, 7 Sep 2018 19:42:01 +0530 Subject: [PATCH] Redis documentation Fix (#6378) Fixed few typos and missing `format` field in the example config provided. Fixes #6356 --- docs/bucket/notifications/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/bucket/notifications/README.md b/docs/bucket/notifications/README.md index a899120cc..c224ed494 100644 --- a/docs/bucket/notifications/README.md +++ b/docs/bucket/notifications/README.md @@ -407,7 +407,7 @@ Install [Redis](http://redis.io/download) server. For illustrative purposes, we This notification target supports two formats: _namespace_ and _access_. -When the _namespace_ format is used, Minio synchronizes objects in the bucket with entries in a hash. For each entry, the key is formatted as "bucketName/objectName" for an object that exists in the bucket, and the value is the JSON-encoded event data about the operation that created/replaced the object in Minio. When objects are updated or deleted, the corresponding entry int he hash is updated or deleted respectively. +When the _namespace_ format is used, Minio synchronizes objects in the bucket with entries in a hash. For each entry, the key is formatted as "bucketName/objectName" for an object that exists in the bucket, and the value is the JSON-encoded event data about the operation that created/replaced the object in Minio. When objects are updated or deleted, the corresponding entry in the hash is also updated or deleted. When the _access_ format is used, Minio appends events to a list using [RPUSH](https://redis.io/commands/rpush). Each item in the list is a JSON encoded list with two items, where the first item is a timestamp string, and second item is a JSON object containing evnet data about the operation that happened in the bucket. No entries appended to the list are updated or deleted by Minio in this format. @@ -431,6 +431,7 @@ An example of Redis configuration is as follows: "redis": { "1": { "enable": true, + "format": "namespace", "address": "127.0.0.1:6379", "password": "yoursecret", "key": "bucketevents"