This commit is contained in:
Ying Hua 2017-06-01 14:51:36 +08:00 коммит произвёл GitHub
Родитель bd7e73cd75
Коммит cdd043883c
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -1,10 +1,9 @@
---
uid: com.microsoft.azure.eventhubs._partition_receiver.receive(final int)
summary: *content
summary: Receives a batch of [EventData](/java/api/com.microsoft.azure.eventhubs._event_data) objects from an Event Hubs partition.
remarks: *content
---
Receives a batch of [EventData](/java/api/com.microsoft.azure.eventhubs._event_data) objects from an Event Hubs partition.
The following sample code uses the synchronous version of the API, but the concepts are the same:
```java
@ -28,4 +27,4 @@ while (true)
System.out.println(String.format("ReceivedBatch Size: %s", batchSize));
receivedEvents = receiver.receiveSync();
}
```
```