Skip to content

Support create and update sink with package name - #8987

Merged
sijie merged 1 commit into
apache:masterfrom
zymap:package-management-sink
Dec 30, 2020
Merged

sijie merged 1 commit into
apache:masterfrom
zymap:package-management-sink

Conversation

@zymap

@zymap zymap commented Dec 17, 2020 •

Copy link
Copy Markdown
Member

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 zymap mentioned this pull request Dec 17, 2020
8 tasks done
@zymap

zymap commented Dec 21, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

1 similar comment
@jiazhai

jiazhai commented Dec 21, 2020

Copy link
Copy Markdown
Member

/pulsarbot run-failure-checks

@zymap

zymap commented Dec 21, 2020

Copy link
Copy Markdown
Member Author

@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
Copy Markdown
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

zymap commented Dec 29, 2020

Copy link
Copy Markdown
Member Author

@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.

3 participants