Skip to content

Eventhub#102

Open
jsbalis1 wants to merge 3 commits into
masterfrom
eventhub
Open

Eventhub#102
jsbalis1 wants to merge 3 commits into
masterfrom
eventhub

Conversation

@jsbalis1
Copy link
Copy Markdown
Contributor

Summary

Vector configuration

How did you test this PR?

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details on the dd-rust-license-tool.

jsbali added 3 commits May 23, 2026 16:38
Introduces a new Event Hub source using the official Azure SDK
(azure_messaging_eventhubs 0.12) with EventProcessor-based partition
management and BlobCheckpointStore for persistent checkpointing.

Auth: managed_identity, client_secret, workload_identity
Config: namespace, consumer group, start position, prefetch, load
balancing strategy, partition expiration, update interval

Uses a dedicated thread with LocalSet for !Send partition streams.
Follows the WEF source pattern (symlink to lib/observo/private).
Copy link
Copy Markdown
Contributor

@janmejay-s1 janmejay-s1 left a comment

Choose a reason for hiding this comment

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

Accepted with a comment.

#[async_trait::async_trait]
#[typetag::serde(name = "eventhub")]
impl SourceConfig for Config {
async fn build(&self, cx: SourceContext) -> Result<Source> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It'll be good to have a source-compliance-assertion test if test-container for this exists.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants