Skip to content
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

Support create and update sink with package name #8987

Merged
merged 1 commit into from
Dec 30, 2020

Conversation

zymap
Copy link
Member

@zymap zymap commented Dec 17, 2020


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

  • Support create and update sink with the package name
  • Add test for this

---

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
@zymap
Copy link
Member Author

zymap commented Dec 21, 2020

/pulsarbot run-failure-checks

1 similar comment
@jiazhai
Copy link
Member

jiazhai commented Dec 21, 2020

/pulsarbot run-failure-checks

@zymap
Copy link
Member Author

zymap commented Dec 21, 2020

@codelipenghui @jiazhai @wolfstudy @sijie Please take a look when you have time. Thanks.

} 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);
Copy link
Member

Choose a reason for hiding this comment

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

Same comment in #8988. Why do we need to download the package?

@zymap
Copy link
Member Author

zymap commented Dec 29, 2020

@sijie This has the same issue as #8988. Please approve this also. Thanks.

@sijie sijie merged commit 92fc224 into apache:master Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants