Skip to content

Commit

Permalink
Add suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanSachi committed Sep 3, 2023
1 parent a84441e commit 8b0a5d5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: BBE on sending messages to a MQTT topic using a `mqtt:Client`.
description: How to send messages to a MQTT topic using a `mqtt:Client`.
keywords: ballerina, ballerina by example, bbe, mqtt, publisher, iot
2 changes: 1 addition & 1 deletion examples/mqtt-client-ssl/mqtt_client_ssl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MQTT client - SSL/TLS

The `mqtt:Client` connects to an MQTT server via SSL/TLS and then, sends messages to the server. SSL/TLS can be enabled by configuring the `secureSocket`, which requires a certificate or a truststore. Further, mTLS can be enabled by providing a certificate and private key of the client or a keystore. Use this to connect to an MQTT server secured with SSL.
The `mqtt:Client` connects to an MQTT server via SSL/TLS and then, sends messages to the server. SSL/TLS can be enabled by configuring the `secureSocket`, which requires a certificate or a truststore. Further, Mutual TLS (mTLS) can be enabled by providing a certificate and private key of the client or a keystore. Use this to connect to an MQTT server secured with SSL.

>**Info:** For more information on the underlying module, see the [`mqtt` module](https://lib.ballerina.io/ballerina/mqtt/latest).
Expand Down
2 changes: 1 addition & 1 deletion examples/mqtt-client-ssl/mqtt_client_ssl.metatags
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: BBE on how to configure a MQTT client to use SSL encryption.
description: How to configure a MQTT client to use SSL encryption.
keywords: ballerina, ballerina by example, bbe, mqtt, publisher, encryption, SSL
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: BBE on how to configure a MQTT listener to use basic authentication.
description: How to configure a MQTT listener to use basic authentication.
keywords: ballerina, ballerina by example, bbe, mqtt, listener, service, iot
2 changes: 1 addition & 1 deletion examples/mqtt-service-ssl/mqtt_service_ssl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MQTT service - SSL/TLS

The `mqtt:Service` receives messages from the MQTT server using the `mqtt:Listener` via SSL/TLS. SSL/TLS can be enabled by configuring the `secureSocket`, which requires a certificate or a truststore. Further, mTLS can be enabled by providing a certificate and private key of the service or a keystore. Use this to connect to an MQTT server secured with SSL.
The `mqtt:Service` receives messages from the MQTT server using the `mqtt:Listener` via SSL/TLS. SSL/TLS can be enabled by configuring the `secureSocket`, which requires a certificate or a truststore. Further, Mutual TLS (mTLS) can be enabled by providing a certificate and private key of the service or a keystore. Use this to connect to an MQTT server secured with SSL.

::: code mqtt_service_ssl.bal :::

Expand Down
2 changes: 1 addition & 1 deletion examples/mqtt-service-ssl/mqtt_service_ssl.metatags
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: BBE on how to configure an MQTT listener to use SSL encryption.
description: How to configure an MQTT listener to use SSL encryption.
keywords: ballerina, ballerina by example, bbe, mqtt, listener, service, iot, SSL
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: BBE on creating an MQTT service to subscribe to messages from an MQTT server using Ballerina.
description: Create an MQTT service to subscribe to messages from an MQTT server using Ballerina.
keywords: ballerina, ballerina by example, bbe, mqtt, subscriber, listener, service, iot

0 comments on commit 8b0a5d5

Please sign in to comment.