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
[Event Hubs] Log improvements + Amqp version bump (Azure#38319)
* [Event Hubs] Log improvements + Amqp version bump
The focus of these changes is to improve logs for the event processor
types and AMQP consumer. The most notable change is the addition of the
first and last sequence number of the batch when reading from Event Hubs
and dispatching events to be processed.
The version of the AMQP library has been bumped to the latest stable (2.6.3),
which includes a fix for timer duration calculations during link creation
and a small handful of efficiency improvements.
/// <param name="identifier">A unique name used to identify the event processor.</param>
49
49
/// <param name="eventHubName">The name of the Event Hub that the processor is associated with.</param>
50
50
/// <param name="consumerGroup">The name of the consumer group that the processor is associated with.</param>
51
+
/// <param name="operationId">An identifier for the processing operation, allowing its activities to be correlated.</param>
51
52
///
52
-
[Event(20,Level=EventLevel.Verbose,Message="Starting to process a batch of events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}.")]
53
+
[Event(20,Level=EventLevel.Verbose,Message="Starting to process a batch of events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}. Operation Id: '{4}'")]
@@ -69,16 +71,18 @@ public virtual void EventBatchProcessingStart(string partitionId,
69
71
/// <param name="identifier">A unique name used to identify the event processor.</param>
70
72
/// <param name="eventHubName">The name of the Event Hub that the processor is associated with.</param>
71
73
/// <param name="consumerGroup">The name of the consumer group that the processor is associated with.</param>
74
+
/// <param name="operationId">An identifier for the processing operation, allowing its activities to be correlated.</param>
72
75
///
73
-
[Event(21,Level=EventLevel.Verbose,Message="Completed processing a batch of events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}.")]
76
+
[Event(21,Level=EventLevel.Verbose,Message="Completed processing a batch of events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}. Operation Id: '{4}'")]
@@ -90,18 +94,20 @@ public virtual void EventBatchProcessingComplete(string partitionId,
90
94
/// <param name="identifier">A unique name used to identify the event processor.</param>
91
95
/// <param name="eventHubName">The name of the Event Hub that the processor is associated with.</param>
92
96
/// <param name="consumerGroup">The name of the consumer group that the processor is associated with.</param>
97
+
/// <param name="operationId">An identifier for the processing operation, allowing its activities to be correlated.</param>
93
98
/// <param name="errorMessage">The message for the exception that occurred.</param>
94
99
///
95
-
[Event(22,Level=EventLevel.Error,Message="An exception occurred while processing events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}. Error Message: '{4}'")]
100
+
[Event(22,Level=EventLevel.Error,Message="An exception occurred while processing events for partition '{0}' by processor instance with identifier '{1}' for Event Hub: {2} and Consumer Group: {3}. Operation Id: '{5}'; Error Message: '{4}'")]
0 commit comments