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 Hubs] Enable runtime metrics feature #5036

Merged
merged 4 commits into from
Sep 6, 2019

Conversation

ShivangiReja
Copy link
Member

The intent of these changes is to reintroduce the concept of partition metrics associated with an EventHubConsumer and piggy-backing on received events. These metrics allow library consumers the opportunity for real-time inspection of the event processing backlog without the need to make dedicated requests for partition information.

@@ -280,6 +279,14 @@ export class ReceiveHandler {
stop(): Promise<void>;
}

// @public
export interface ReceiverRuntimeInfo {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name should be LastEnqueuedEventInfo
The properties on it can be

  • offset
  • sequenceNumber
  • enqueuedTime
  • retrievalTime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants