Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Processor: Set OwnerLevel "0" when creating an instance of ReadEventOptions #9310

Merged
merged 3 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public virtual void PartitionProcessingError(string partitionId,
/// <param name="partitionId">The identifier of the Event Hub partition whose processing has stopped.</param>
/// <param name="reason">The reason why the processing for the specified partition has stopped.</param>
///
[Event(21, Level = EventLevel.Verbose, Message = "Stopped partition processing task for partition id '{0}' with reason '{1}'.")]
[Event(21, Level = EventLevel.Informational, Message = "Stopped partition processing task for partition id '{0}' with reason '{1}'.")]
public virtual void StopPartitionProcessingComplete(string partitionId,
ProcessingStoppedReason reason)
{
Expand Down Expand Up @@ -411,7 +411,7 @@ public virtual void LoadBalancingTaskError(string identifier,
///
/// <param name="identifier">A unique name used to identify the event processor.</param>
///
[Event(24, Level = EventLevel.Verbose, Message = "Stopped processing events. (Identifier '{0}')")]
[Event(24, Level = EventLevel.Informational, Message = "Stopped processing events. (Identifier '{0}')")]
public virtual void EventProcessorStopComplete(string identifier)
{
if (IsEnabled())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ public EventProcessorClient(BlobContainerClient checkpointStore,

ProcessingReadEventOptions = new ReadEventOptions
{
OwnerLevel = 0,
ShivangiReja marked this conversation as resolved.
Show resolved Hide resolved
MaximumWaitTime = clientOptions.MaximumWaitTime,
TrackLastEnqueuedEventProperties = clientOptions.TrackLastEnqueuedEventProperties
};
Expand Down Expand Up @@ -477,6 +478,7 @@ public EventProcessorClient(BlobContainerClient checkpointStore,

ProcessingReadEventOptions = new ReadEventOptions
{
OwnerLevel = 0,
MaximumWaitTime = clientOptions.MaximumWaitTime,
TrackLastEnqueuedEventProperties = clientOptions.TrackLastEnqueuedEventProperties
};
Expand Down Expand Up @@ -533,6 +535,7 @@ internal EventProcessorClient(PartitionManager storageManager,

ProcessingReadEventOptions = new ReadEventOptions
{
OwnerLevel = 0,
MaximumWaitTime = clientOptions.MaximumWaitTime,
TrackLastEnqueuedEventProperties = clientOptions.TrackLastEnqueuedEventProperties
};
Expand Down