From 8dc02595b595c9db8ab23e3591af53d9e38fc782 Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Fri, 4 Oct 2019 11:55:21 -0300 Subject: [PATCH 1/6] insert Manage message queues instructions to enable bulk --- guides/v2.3/rest/bulk-endpoints.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guides/v2.3/rest/bulk-endpoints.md b/guides/v2.3/rest/bulk-endpoints.md index ca0e35cddb2..216a02f2b39 100644 --- a/guides/v2.3/rest/bulk-endpoints.md +++ b/guides/v2.3/rest/bulk-endpoints.md @@ -10,7 +10,9 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing. +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configuring the message queues'. For more details see: [ +Manage message queues +]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). ### Routes From 4b3c96430dc9ee8b1683b9e80cb21ecbcc4ac097 Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Fri, 4 Oct 2019 11:59:45 -0300 Subject: [PATCH 2/6] insert Manage message queues instructions to enable bulk --- guides/v2.2/rest/bulk-endpoints.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guides/v2.2/rest/bulk-endpoints.md b/guides/v2.2/rest/bulk-endpoints.md index a32edc2fa86..2b073cb21b2 100644 --- a/guides/v2.2/rest/bulk-endpoints.md +++ b/guides/v2.2/rest/bulk-endpoints.md @@ -11,7 +11,9 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing. +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configuring the message queues'. For more details see: [ +Manage message queues +]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). ### Routes From 912e028e58fbb68820a1bfaa70283976f06c0a9f Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Fri, 4 Oct 2019 12:05:38 -0300 Subject: [PATCH 3/6] fix typo --- guides/v2.2/rest/bulk-endpoints.md | 2 +- guides/v2.3/rest/bulk-endpoints.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.2/rest/bulk-endpoints.md b/guides/v2.2/rest/bulk-endpoints.md index 2b073cb21b2..7cdfb0ac655 100644 --- a/guides/v2.2/rest/bulk-endpoints.md +++ b/guides/v2.2/rest/bulk-endpoints.md @@ -11,7 +11,7 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configuring the message queues'. For more details see: [ +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues'. For more details see: [ Manage message queues ]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). diff --git a/guides/v2.3/rest/bulk-endpoints.md b/guides/v2.3/rest/bulk-endpoints.md index 216a02f2b39..50f41b40fb6 100644 --- a/guides/v2.3/rest/bulk-endpoints.md +++ b/guides/v2.3/rest/bulk-endpoints.md @@ -10,7 +10,7 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configuring the message queues'. For more details see: [ +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues'. For more details see: [ Manage message queues ]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). From 04466454610fc34569c5e37a054a96635ca12391 Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Fri, 4 Oct 2019 12:06:17 -0300 Subject: [PATCH 4/6] fix typo --- guides/v2.2/rest/bulk-endpoints.md | 2 +- guides/v2.3/rest/bulk-endpoints.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.2/rest/bulk-endpoints.md b/guides/v2.2/rest/bulk-endpoints.md index 7cdfb0ac655..3143f0c4deb 100644 --- a/guides/v2.2/rest/bulk-endpoints.md +++ b/guides/v2.2/rest/bulk-endpoints.md @@ -11,7 +11,7 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues'. For more details see: [ +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues. For more details see: [ Manage message queues ]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). diff --git a/guides/v2.3/rest/bulk-endpoints.md b/guides/v2.3/rest/bulk-endpoints.md index 50f41b40fb6..51cd63f32c8 100644 --- a/guides/v2.3/rest/bulk-endpoints.md +++ b/guides/v2.3/rest/bulk-endpoints.md @@ -10,7 +10,7 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues'. For more details see: [ +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues. For more details see: [ Manage message queues ]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). From 45bf9a3bfaa1c4f459b26045da7ae969ed6509bd Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Fri, 4 Oct 2019 14:15:33 -0300 Subject: [PATCH 5/6] warnings and tips hot to configure message queues processingguides/v2.2/rest/bulk-endpoints.md --- guides/v2.3/rest/bulk-endpoints.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/guides/v2.3/rest/bulk-endpoints.md b/guides/v2.3/rest/bulk-endpoints.md index 51cd63f32c8..2d7b77e08ce 100644 --- a/guides/v2.3/rest/bulk-endpoints.md +++ b/guides/v2.3/rest/bulk-endpoints.md @@ -9,10 +9,14 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. +{: .bs-callout .bs-callout-warning} +By default, Magento uses RabbitMQ (AMQP) for processing message queues. Before using Bulk operations, you should see [RabbitMQ]({{ page.baseurl }}/install-gde/prereq/install-rabbitmq.html). + +{:.bs-callout .bs-callout-info} +Alternatively you can use CRON for processing message queues without RabbitMQ installed, see [Manage message queues]({{ page.baseurl }}/config-guide/mq/manage-message-queues.html). + {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues. For more details see: [ -Manage message queues -]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing. ### Routes From 342b6bc3d76fb725e63dfe7fb694fd42ebb40b42 Mon Sep 17 00:00:00 2001 From: Donald Booth Date: Wed, 16 Oct 2019 15:58:06 -0500 Subject: [PATCH 6/6] formatting --- guides/v2.2/rest/bulk-endpoints.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/guides/v2.2/rest/bulk-endpoints.md b/guides/v2.2/rest/bulk-endpoints.md index 3143f0c4deb..6020e9a6b92 100644 --- a/guides/v2.2/rest/bulk-endpoints.md +++ b/guides/v2.2/rest/bulk-endpoints.md @@ -11,9 +11,7 @@ functional_areas: Bulk API endpoints differ from other REST endpoints in that they combine multiple calls of the same type into an array and execute them as a single request. The endpoint handler splits the array into individual entities and writes them as separate messages to the message queue. {:.bs-callout .bs-callout-tip} -Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues. For more details see: [ -Manage message queues -]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). +Use the `bin/magento queue:consumers:start async.operations.all` command to enable bulk endpoint processing, after configure the message queues. For more details see: [Manage message queues]({{ page.baseurl }}config-guide/mq/manage-message-queues.html). ### Routes