Repository navigation
Support create and update sink with package name - #8987
Merged
Merged
Conversation
--- Master Issue: apache#8676 *Motivation* We have a new package management service that can manage all the sink packages. We can use that in the Pulsar Sink to manage sink pakcages. *Modifications* - Support create and update sink with package name - Add test for this
8 tasks done
Member
Author
|
/pulsarbot run-failure-checks |
1 similar comment
Member
|
/pulsarbot run-failure-checks |
Member
Author
|
@codelipenghui @jiazhai @wolfstudy @sijie Please take a look when you have time. Thanks. |
sijie
requested changes
Dec 22, 2020
| } catch (Exception e) { | ||
| throw new IllegalArgumentException(String.format("Encountered error \"%s\" when getting %s package from %s", e.getMessage(), ComponentTypeUtils.toString(componentType), sinkPkgUrl)); | ||
| if (hasPackageTypePrefix(sinkPkgUrl)) { | ||
| componentPackageFile = downloadPackageFile(sinkPkgUrl); |
Member
There was a problem hiding this comment.
Same comment in #8988. Why do we need to download the package?
Member
Author
sijie
approved these changes
Dec 30, 2020
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Master Issue: #8676
Motivation
We have a new package management service that can manage all
the sink packages. We can use that in the Pulsar Sink to manage
sink packages.
I reuse the 'packageUrl' for downloading the package from the packages
management service. So user can use the package name as the 'packageUrl'
to download it.
Modifications