-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade azure-eventhub to input v2 API (#39511)
* Rename client to pipelineClient for clarity * Rename azure to eventHubMetadata for clarity * Move remaining code out of eph.go * Remove erroneous error check * Update tests Switch from the v1 Outlet to the v2 PipelineClient * Simplify run() It seems we only need to wait for the context to be done here. * Update NOTICE * Clarify handler tradeoffs The existing input version does not handle publishing acks from the Beats pipeline. The input API v1 does not seem to offer this feature. With the transition to the input API v2, we have acks management. However, the legacy event hub SDK internally updates the checkpoint info after a successful handler call, and does not seem to offer hooks for acks management. Since the new modern SDK offers better checkpoint management, we keep the current behavior intact, and we'll implement ACKs in the event hub input v2. --------- Co-authored-by: Tiago Queiroz <me@tiago.life>
- Loading branch information
Showing
13 changed files
with
565 additions
and
576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.