| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | namespace Azure.Messaging.EventHubs.Primitives |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// A set of contextual information about an Event Hub partition for which an |
| | 8 | | /// <see cref="EventProcessor{TPartition}" /> operation is being performed. |
| | 9 | | /// </summary> |
| | 10 | | /// |
| | 11 | | /// <remarks> |
| | 12 | | /// This class represents a minimalist set of information and is intended to be |
| | 13 | | /// extended for scenarios which require additional context for partitions. |
| | 14 | | /// </remarks> |
| | 15 | | /// |
| | 16 | | /// <seealso cref="EventProcessor{TPartition}" /> |
| | 17 | | /// |
| | 18 | | public class EventProcessorPartition |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// The identifier of the partition. |
| | 22 | | /// </summary> |
| | 23 | | /// |
| | 24 | | public string PartitionId |
| | 25 | | { |
| 218 | 26 | | get; |
| 90 | 27 | | protected internal set; |
| | 28 | | } |
| | 29 | | } |
| | 30 | | } |