-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
SolaceIO: separate auth and session settings #32406
base: master
Are you sure you want to change the base?
SolaceIO: separate auth and session settings #32406
Conversation
…31905. This PR adds the actual writer functionality, and some additional testing, including integration testing. This should be final PR for the SolaceIO write connector to be complete.
… inheritance and overriding of SessionService
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
@bzablocki @Abacn what are next steps on this PR? |
It's blocked by #32400, waiting for that to be merged. I'll be monitoring it and ping you once it is ready for a review. |
Queue queueNotNull = checkStateNotNull(queue(), "SolaceIO.Read: Queue is not set."); | ||
|
||
Queue queue = | ||
JCSMPFactory.onlyInstance() | ||
.createQueue(checkStateNotNull(queueName(), "SolaceIO.Read: Queue is not set.")); | ||
Queue queue = JCSMPFactory.onlyInstance().createQueue(queueNotNull.getName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem quite right, you already have a Queue
instance at this point, what's the point of having the factory recreate it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, this queue is already initialized.
Refactored to separate authentication and session settings, and allow inheritance and overriding of SessionService.
Depends on #32400, waiting for that to be merged
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.