| | 1 | | // Copyright (c) Microsoft. All rights reserved. |
| | 2 | | // Licensed under the MIT license. See LICENSE file in the project root for full license information.using System; |
| | 3 | |
|
| | 4 | | namespace Microsoft.Azure.EventHubs.ServiceFabricProcessor |
| | 5 | | { |
| | 6 | | using System; |
| | 7 | |
|
| | 8 | | class Constants |
| | 9 | | { |
| 2 | 10 | | internal static readonly int RetryCount = 5; |
| | 11 | |
|
| 2 | 12 | | internal static readonly int FixedReceiverEpoch = 0; |
| | 13 | |
|
| 2 | 14 | | internal static readonly TimeSpan MetricReportingInterval = TimeSpan.FromMinutes(1.0); |
| 2 | 15 | | internal static readonly string DefaultUserLoadMetricName = "CountOfPartitions"; |
| | 16 | |
|
| 2 | 17 | | internal static readonly TimeSpan ReliableDictionaryTimeout = TimeSpan.FromSeconds(10.0); // arbitrary |
| 2 | 18 | | internal static readonly string CheckpointDictionaryName = "EventProcessorCheckpointDictionary"; |
| 2 | 19 | | internal static readonly string CheckpointPropertyVersion = "version"; |
| 2 | 20 | | internal static readonly string CheckpointPropertyValid = "valid"; |
| 2 | 21 | | internal static readonly string CheckpointPropertyOffsetV1 = "offsetV1"; |
| 2 | 22 | | internal static readonly string CheckpointPropertySequenceNumberV1 = "sequenceNumberV1"; |
| | 23 | | } |
| | 24 | | } |