You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These changes focus on implementing the `PartitionReceiver` and ensuring
good unit test coverage. Live tests will be fleshed out as part of a new
workstream.
/// A set of information about the last enqueued event of the partition associated with this receiver, observed as events
285
+
/// are received from the Event Hubs service. This is only available if the receiver was created with <see cref="PartitionReceiverOptions.TrackLastEnqueuedEventProperties" />
286
+
/// set. Otherwise, the properties will contain default values.
287
+
/// </summary>
288
+
///
289
+
/// <returns>The set of properties for the last event that was enqueued to the partition. If no events were read or tracking was not set, the properties will be returned with default values.</returns>
290
+
///
291
+
/// <remarks>
292
+
/// When information about the partition's last enqueued event is being tracked, each event received from the Event Hubs
293
+
/// service will carry metadata about the partition that it otherwise would not. This results in a small amount of
294
+
/// additional network bandwidth consumption that is generally a favorable trade-off when considered
295
+
/// against periodically making requests for partition properties using an Event Hub client.
296
+
/// </remarks>
297
+
///
298
+
/// <exception cref="EventHubsException">Occurs when the Event Hubs client needed to read this information is no longer available.</exception>
/// Receives a batch of <see cref="EventData" /> from the Event Hub partition this client is associated with.
274
308
/// </summary>
275
309
///
276
310
/// <param name="maximumEventCount">The maximum number of messages to receive in this batch.</param>
277
-
/// <param name="maximumWaitTime">The maximum amount of time to wait to build up the requested message count for the batch; if not specified, the default wait time specified by the options when the client was created will be used.</param>
278
311
/// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
279
312
///
280
313
/// <returns>The batch of <see cref="EventData" /> from the Event Hub partition this client is associated with. If no events are present, an empty enumerable is returned.</returns>
/// Receives a batch of <see cref="EventData" /> from the Event Hub partition this client is associated with.
321
+
/// </summary>
322
+
///
323
+
/// <param name="maximumEventCount">The maximum number of messages to receive in this batch.</param>
324
+
/// <param name="maximumWaitTime">The maximum amount of time to wait to build up the requested message count for the batch.</param>
325
+
/// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
326
+
///
327
+
/// <returns>The batch of <see cref="EventData" /> from the Event Hub partition this client is associated with. If no events are present, an empty enumerable is returned.</returns>
/// Receives a batch of <see cref="EventData" /> from the Event Hub partition this client is associated with.
455
+
/// </summary>
456
+
///
457
+
/// <param name="maximumEventCount">The maximum number of messages to receive in this batch.</param>
458
+
/// <param name="maximumWaitTime">The maximum amount of time to wait to build up the requested message count for the batch; if not specified, the default wait time specified by the options when the client was created will be used.</param>
459
+
/// <param name="cancellationToken">An optional <see cref="CancellationToken"/> instance to signal the request to cancel the operation.</param>
460
+
///
461
+
/// <returns>The batch of <see cref="EventData" /> from the Event Hub partition this client is associated with. If no events are present, an empty enumerable is returned.</returns>
0 commit comments