Update import for NATS clients (#7743)

Signed-off-by: Waldemar Quevedo <wally@synadia.com>
master
Waldemar Quevedo 5 years ago committed by Nitish Tiwari
parent df19546cc8
commit 8b0c86298d
  1. 6
      docs/bucket/notifications/README.md
  2. 6
      docs/zh_CN/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() {

@ -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() {

Loading…
Cancel
Save