From 7ac0fccb6eb2f3bb69af3ba670faf6b6a8a6755f Mon Sep 17 00:00:00 2001 From: Praveen raj Mani Date: Sat, 26 May 2018 05:52:00 +0530 Subject: [PATCH] updated pika API changes in rabbitMQ notification doc (#5980) The pika python package used for listening on rabbitMQ events has breaking change. 'type' param changed to 'exchange_type' in newer releases. --- docs/bucket/notifications/README.md | 2 +- docs/zh_CN/bucket/notifications/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bucket/notifications/README.md b/docs/bucket/notifications/README.md index 0fd36cdf6..c89cafeca 100644 --- a/docs/bucket/notifications/README.md +++ b/docs/bucket/notifications/README.md @@ -99,7 +99,7 @@ connection = pika.BlockingConnection(pika.ConnectionParameters( channel = connection.channel() channel.exchange_declare(exchange='bucketevents', - type='fanout') + exchange_type='fanout') result = channel.queue_declare(exclusive=False) queue_name = result.method.queue diff --git a/docs/zh_CN/bucket/notifications/README.md b/docs/zh_CN/bucket/notifications/README.md index 7ae6d2866..a26069c3e 100644 --- a/docs/zh_CN/bucket/notifications/README.md +++ b/docs/zh_CN/bucket/notifications/README.md @@ -95,7 +95,7 @@ connection = pika.BlockingConnection(pika.ConnectionParameters( channel = connection.channel() channel.exchange_declare(exchange='bucketevents', - type='fanout') + exchange_type='fanout') result = channel.queue_declare(exclusive=False) queue_name = result.method.queue