Skip to content

Commit cc97d75

Browse files
Merge pull request #222170 from spelluru/patch-148
updated to latest NuGet packages
2 parents d58322d + 16a379f commit cc97d75

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

articles/event-hubs/event-hubs-java-get-started-send.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Send or receive events from Azure Event Hubs using Java (latest)
33
description: This article provides a walkthrough of creating a Java application that sends/receives events to/from Azure Event Hubs using the latest azure-messaging-eventhubs package.
44
ms.topic: quickstart
5-
ms.date: 10/10/2022
5+
ms.date: 12/21/2022
66
ms.devlang: java
77
ms.custom: devx-track-java, mode-api
88
---
@@ -30,11 +30,11 @@ This section shows you how to create a Java application to send events an event
3030
First, create a new **Maven** project for a console/shell application in your favorite Java development environment. Update the `pom.xml` file with the following dependency. The Java client library for Event Hubs is available in the [Maven Central Repository](https://search.maven.org/search?q=a:azure-messaging-eventhubs).
3131

3232
```xml
33-
<dependency>
34-
<groupId>com.azure</groupId>
35-
<artifactId>azure-messaging-eventhubs</artifactId>
36-
<version>5.7.0</version>
37-
</dependency>
33+
<dependency>
34+
<groupId>com.azure</groupId>
35+
<artifactId>azure-messaging-eventhubs</artifactId>
36+
<version>5.15.0</version>
37+
</dependency>
3838
```
3939

4040
> [!NOTE]
@@ -137,18 +137,18 @@ Add the following dependencies in the pom.xml file.
137137
- [azure-messaging-eventhubs-checkpointstore-blob](https://search.maven.org/search?q=a:azure-messaging-eventhubs-checkpointstore-blob)
138138

139139
```xml
140-
<dependencies>
141-
<dependency>
142-
<groupId>com.azure</groupId>
143-
<artifactId>azure-messaging-eventhubs</artifactId>
144-
<version>5.7.0</version>
145-
</dependency>
146-
<dependency>
147-
<groupId>com.azure</groupId>
148-
<artifactId>azure-messaging-eventhubs-checkpointstore-blob</artifactId>
149-
<version>1.6.0</version>
150-
</dependency>
151-
</dependencies>
140+
<dependencies>
141+
<dependency>
142+
<groupId>com.azure</groupId>
143+
<artifactId>azure-messaging-eventhubs</artifactId>
144+
<version>5.15.0</version>
145+
</dependency>
146+
<dependency>
147+
<groupId>com.azure</groupId>
148+
<artifactId>azure-messaging-eventhubs-checkpointstore-blob</artifactId>
149+
<version>1.16.1</version>
150+
</dependency>
151+
</dependencies>
152152
```
153153

154154
1. Add the following **import** statements at the top of the Java file.

0 commit comments

Comments
 (0)