From 8b0c86298df64d12564c51c797bf2412d2b996e9 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Mon, 3 Jun 2019 22:46:07 -0700 Subject: [PATCH] Update import for NATS clients (#7743) Signed-off-by: Waldemar Quevedo --- docs/bucket/notifications/README.md | 6 +++--- docs/zh_CN/bucket/notifications/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/bucket/notifications/README.md b/docs/bucket/notifications/README.md index 134ac8f41..322d47f83 100644 --- a/docs/bucket/notifications/README.md +++ b/docs/bucket/notifications/README.md @@ -585,7 +585,7 @@ MinIO server also supports [NATS Streaming mode](http://nats.io/documentation/st }, ``` -Read more about sections `clusterID`, `clientID` on [NATS documentation](https://github.com/nats-io/nats-streaming-server/blob/master/README.md). Section `maxPubAcksInflight` is explained [here](https://github.com/nats-io/go-nats-streaming#publisher-rate-limiting). +Read more about sections `clusterID`, `clientID` on [NATS documentation](https://github.com/nats-io/nats-streaming-server/blob/master/README.md). Section `maxPubAcksInflight` is explained [here](https://github.com/nats-io/stan.go#publisher-rate-limiting). ### Step 2: Enable bucket notification using MinIO client @@ -610,7 +610,7 @@ import ( "log" "runtime" - "github.com/nats-io/nats" + "github.com/nats-io/nats.go" ) func main() { @@ -663,7 +663,7 @@ import ( "fmt" "runtime" - "github.com/nats-io/go-nats-streaming" + "github.com/nats-io/stan.go" ) func main() { diff --git a/docs/zh_CN/bucket/notifications/README.md b/docs/zh_CN/bucket/notifications/README.md index 36111e2d9..67ae1f85a 100644 --- a/docs/zh_CN/bucket/notifications/README.md +++ b/docs/zh_CN/bucket/notifications/README.md @@ -526,7 +526,7 @@ MinIO服务也支持 [NATS Streaming mode](http://nats.io/documentation/streamin } }, ``` -更多关于 `clusterID`, `clientID` 的信息,请看 [NATS documentation](https://github.com/nats-io/nats-streaming-server/blob/master/README.md). 关于 `maxPubAcksInflight` ,请看 [这里](https://github.com/nats-io/go-nats-streaming#publisher-rate-limiting). +更多关于 `clusterID`, `clientID` 的信息,请看 [NATS documentation](https://github.com/nats-io/nats-streaming-server/blob/master/README.md). 关于 `maxPubAcksInflight` ,请看 [这里](https://github.com/nats-io/stan.go#publisher-rate-limiting). ### 第二步: 使用MinIO客户端启用bucket通知 @@ -551,7 +551,7 @@ import ( "log" "runtime" - "github.com/nats-io/nats" + "github.com/nats-io/nats.go" ) func main() { @@ -604,7 +604,7 @@ import ( "fmt" "runtime" - "github.com/nats-io/go-nats-streaming" + "github.com/nats-io/stan.go" ) func main() {