Skip to content

Commit 14b3c56

Browse files
authored
Merge pull request #112220 from spelluru/ehubjavacps0421
New name for Checkpoint Store
2 parents 445a625 + c2963c3 commit 14b3c56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: spelluru
77
ms.service: event-hubs
88
ms.workload: core
99
ms.topic: quickstart
10-
ms.date: 02/11/2020
10+
ms.date: 04/21/2020
1111
ms.author: spelluru
1212

1313
---
@@ -190,7 +190,7 @@ The Java client library for Event Hubs is available for use in Maven projects fr
190190
.processEvent(processEvent)
191191
.processError(processError)
192192
.consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME)
193-
.checkpointStore(new InMemoryCheckpointStore())
193+
.checkpointStore(new SampleCheckpointStore())
194194
.buildEventProcessorClient();
195195

196196
System.out.println("Starting event processor");
@@ -208,7 +208,7 @@ The Java client library for Event Hubs is available for use in Maven projects fr
208208
}
209209
```
210210

211-
2. Download the **InMemoryCheckpointStore.java** file from [GitHub](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java), and add it to your project.
211+
2. Download the **SampleCheckpointStore.java** file from [GitHub](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/SampleCheckpointStore.java), and add it to your project.
212212
3. Build the program, and ensure that there are no errors.
213213

214214
## Run the applications

0 commit comments

Comments
 (0)