Skip to content

Removed storage dependency from eventhubs#4954

Merged
LarryOsterman merged 38 commits into
Azure:mainfrom
LarryOsterman:larryo/removeehstoragedependency
Sep 22, 2023
Merged

Removed storage dependency from eventhubs#4954
LarryOsterman merged 38 commits into
Azure:mainfrom
LarryOsterman:larryo/removeehstoragedependency

Conversation

@LarryOsterman

@LarryOsterman LarryOsterman commented Sep 14, 2023

Copy link
Copy Markdown
Member

Fixes #4961

Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the contributing guide.

  • C++ Guidelines
  • Doxygen docs
  • Unit tests
  • No unwanted commits/changes
  • Descriptive title/description
    • PR is single purpose
    • Related issue listed
  • Comments in source
  • No typos
  • Update changelog
  • Not work-in-progress
  • External references or docs updated
  • Self review of PR done
  • Any breaking changes?

@ahsonkhan

Copy link
Copy Markdown
Contributor

Removed storage dependency from eventhubs

Hooray! 🎉

@LarryOsterman LarryOsterman force-pushed the larryo/removeehstoragedependency branch from 7815ee4 to f0ef8ac Compare September 15, 2023 17:33
@LarryOsterman

Copy link
Copy Markdown
Member Author

@antkmsft , I would appreciate your looking at the vcpkg directory, since that hasn't been tested.

Comment thread sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/vcpkg/portfile.cmake Outdated
Comment thread sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/vcpkg/vcpkg.json Outdated

@antkmsft antkmsft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Other than two comments, the stuff in /vcpkg dir looks good to me. We may see more once this is checked in and runs as part of the vcpkg validation run (microsoft/vcpkg#17119).

I haven't revieved the rest, I'll come back to that later.

@antkmsft antkmsft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks like you are removing the dependency on azure-storage-blobs-cpp from the azure-messaging-eventhubs-cpp.
I don't see the corresponding updates to remove it in the azure-messaging-eventhubs-cpp directory (azure-messaging-eventhubs/vcpkg.json, azure-messaging-eventhubs/vcpkg/*).

@LarryOsterman

Copy link
Copy Markdown
Member Author

It looks like you are removing the dependency on azure-storage-blobs-cpp from the azure-messaging-eventhubs-cpp. I don't see the corresponding updates to remove it in the azure-messaging-eventhubs-cpp directory (azure-messaging-eventhubs/vcpkg.json, azure-messaging-eventhubs/vcpkg/*).

They should be there now.

Comment thread sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md Outdated

@antkmsft antkmsft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You also need to update azure-messaging-eventhubs/CMakeLists.txt to remove the

find_package(azure-storage-blobs-cpp CONFIG QUIET)
if(NOT azure-storage-blobs-cpp_FOUND)
  find_package(azure-storage-blobs-cpp REQUIRED)
endif()

and

target_link_libraries(azure-messaging-eventhubs PUBLIC ... Azure::azure-storage-blobs)

And also there's FolderList.cmake file.

@antkmsft antkmsft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

BTW, if there are there any samples in the non-storageblobs eventhubs that need to be updated or moved to eventhubs-storage-blob, please move or update them.

@LarryOsterman

Copy link
Copy Markdown
Member Author

BTW, if there are there any samples in the non-storageblobs eventhubs that need to be updated or moved to eventhubs-storage-blob, please move or update them.

There are no samples currently that test the processor, which is where the checkpoint store is used.

@LarryOsterman

Copy link
Copy Markdown
Member Author

/azp run cpp - eventhubs - ci

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@LarryOsterman

Copy link
Copy Markdown
Member Author

/azp run cpp - eventhubs - ci

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@LarryOsterman LarryOsterman merged commit 336c8c0 into Azure:main Sep 22, 2023
@LarryOsterman LarryOsterman deleted the larryo/removeehstoragedependency branch October 27, 2023 17:15
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.

Create Blob Checkpoint Store package separate from EventHubs package.

4 participants