This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-package-kafka.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cb333b  Update README.md (#368)
7cb333b is described below

commit 7cb333bbcb3b0dccef56fdbb5c725c907e772812
Author: Steven R. Loomis <[email protected]>
AuthorDate: Fri May 22 17:14:36 2020 -0700

    Update README.md (#368)
    
    Fixes: https://github.com/apache/openwhisk-package-kafka/issues/281
    
    Updates deprecation notice in e6a2c2e219ef65f8932579a201567574aff0c6bf 
(#265) with a suggested alternative on these actions:
    
    - `/messaging/kafkaProduce`
    - `/messaging/messageHubProduce`
---
 README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 1941537..620a16f 100644
--- a/README.md
+++ b/README.md
@@ -327,9 +327,9 @@ $ wsk trigger update myTopicTrigger -p isJSONData false -p 
isBinaryKey true -p i
 
 ### Producing messages to Message Hub
 
-The `/messaging/messageHubProduce` Action is deprecated and will be removed at 
a future date. To maintain optimal performance, migrate your usage of the 
`/messaging/messageHubProduce` Action to use a persistent connection when data 
is produced to Message Hub.
+The `/messaging/messageHubProduce` Action is deprecated and will be removed at 
a future date. To maintain optimal performance, migrate your usage of the 
`/messaging/messageHubProduce` Action to use a persistent connection, for 
example, by deploying a non-OpenWhisk component which contains a Message Hub 
client.
 
-If you would like to use an OpenWhisk action to conveniently produce a message 
to Message Hub, you can use the `/messaging/messageHubProduce` action. This 
action takes the following parameters:
+The deprecated `/messaging/messageHubProduce` takes the following parameters:
 
 |Name|Type|Description|
 |---|---|---|
@@ -350,9 +350,9 @@ wsk action invoke /messaging/messageHubProduce -p 
kafka_brokers_sasl "[\"kafka01
 
 ### Producing messages to a generic Kafka instance
 
-The `/messaging/kafkaProduce` Action is deprecated and will be removed at a 
future date. To maintain optimal performance, migrate your usage of the 
`/messaging/kafkaProduce` Action to use a persistent connection when data is 
produced to Kafka.
+> :point_right: **Note** The `/messaging/kafkaProduce` Action is deprecated 
and will be removed at a future date. To maintain optimal performance, migrate 
your usage of the `/messaging/kafkaProduce` Action to use a persistent 
connection, for example, by deploying a non-OpenWhisk component which contains 
a Kafka Producer.
 
-If you would like to use an OpenWhisk action to conveniently produce a message 
to a generic Kafka instance, you can use the `/messaging/kafkaProduce` action. 
This action takes the following parameters:
+The deprecated `/messaging/kafkaProduce` takes the following parameters:
 
 |Name|Type|Description|
 |---|---|---|

Reply via email to