Skip to content

[FEATURE REQ] Event Hubs clients exposing pipelines and policies (ClientOptions from Azure.Core) #10896

@bartoszropski

Description

@bartoszropski

Library or service name.
Azure.Messaging.EventHub

Is your feature request related to a problem? Please describe.
EventHub is depending now on the Azure.Core package. One of the key concepts developers seems to be thrilled about, in the new Azure SDK guidelines, are pipelines and custom policies, that give you client side blocks similar to MessageHandler or OwinMiddleware concepts.

The pipelines provide clear and efficient way of enhancing the capabilities of the client, such as:

  • logging
  • telemetry
  • throttling
  • encryption
  • retries
    and many others.

EventHub client option classes, however, are not following this concept.
I think it would be beneficial, if we had an option to inject custom logic this way, without a need to create wrappers/adapters on top of SDK interfaces and classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageEvent Hubscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions