Skip to content

Commit c9ed7ee

Browse files
authored
Merge pull request #115302 from JimacoMS3/update-java-telemetry-quickstart
Changes to java telemetry quickstart for EH client upgrade
2 parents e172723 + 07cb69d commit c9ed7ee

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

articles/iot-hub/iot-hub-devguide-messages-read-builtin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The SDKs you can use to connect to the built-in Event Hub-compatible endpoint th
5959
| Language | SDK | Example |
6060
| -------- | --- | ------ |
6161
| .NET | https://github.com/Azure/azure-event-hubs-dotnet | [Quickstart](quickstart-send-telemetry-dotnet.md) |
62-
Java | https://github.com/Azure/azure-event-hubs-java | [Quickstart](quickstart-send-telemetry-java.md) |
62+
Java | https://mvnrepository.com/artifact/com.azure/azure-messaging-eventhubs | [Quickstart](quickstart-send-telemetry-java.md) |
6363
| Node.js | https://www.npmjs.com/package/@azure/event-hubs | [Quickstart](quickstart-send-telemetry-node.md) |
6464
| Python | https://pypi.org/project/azure-eventhub/ | https://github.com/Azure-Samples/azure-iot-samples-python/tree/master/iot-hub/Quickstarts/read-d2c-messages |
6565

54.8 KB
Loading
61.9 KB
Loading

articles/iot-hub/quickstart-send-telemetry-java.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services: iot-hub
99
ms.devlang: java
1010
ms.topic: quickstart
1111
ms.custom: [mvc, seo-java-august2019, seo-java-september2019, mqtt]
12-
ms.date: 06/21/2019
12+
ms.date: 05/26/2020
1313
# As a developer new to IoT Hub, I need to see how IoT Hub sends telemetry from a device to an IoT hub and how to read that telemetry data from the hub using a back-end application.
1414
---
1515

@@ -125,7 +125,7 @@ The simulated device application connects to a device-specific endpoint on your
125125
126126
The following screenshot shows the output as the simulated device application sends telemetry to your IoT hub:
127127
128-
![Output from telemetry sent by the device to your IoT hub](media/quickstart-send-telemetry-java/iot-hub-simulated-device.png)
128+
![Output from telemetry sent by the device to your IoT hub](media/quickstart-send-telemetry-java/simulated-device.png)
129129
130130
## Read the telemetry from your hub
131131
@@ -137,9 +137,9 @@ The back-end application connects to the service-side **Events** endpoint on you
137137
138138
| Variable | Value |
139139
| -------- | ----------- |
140-
| `eventHubsCompatibleEndpoint` | Replace the value of the variable with the Event Hubs-compatible endpoint you made a note of earlier. |
141-
| `eventHubsCompatiblePath` | Replace the value of the variable with the Event Hubs-compatible path you made a note of earlier. |
142-
| `iotHubSasKey` | Replace the value of the variable with the service primary key you made a note of earlier. |
140+
| `EVENT_HUBS_COMPATIBLE_ENDPOINT` | Replace the value of the variable with the Event Hubs-compatible endpoint you made a note of earlier. |
141+
| `EVENT_HUBS_COMPATIBLE_PATH` | Replace the value of the variable with the Event Hubs-compatible path you made a note of earlier. |
142+
| `IOT_HUB_SAS_KEY` | Replace the value of the variable with the service primary key you made a note of earlier. |
143143
144144
3. In the local terminal window, run the following commands to install the required libraries and build the back-end application:
145145
@@ -155,7 +155,7 @@ The back-end application connects to the service-side **Events** endpoint on you
155155
156156
The following screenshot shows the output as the back-end application receives telemetry sent by the simulated device to the hub:
157157
158-
![Output as back-end application receives telemetry sent to your IoT hub](media/quickstart-send-telemetry-java/iot-hub-read-device-to-cloud.png)
158+
![Output as back-end application receives telemetry sent to your IoT hub](media/quickstart-send-telemetry-java/read-device-to-cloud.png)
159159
160160
## Clean up resources
161161

0 commit comments

Comments
 (0)