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

Add create cmd of Pulsar Functions #15

Merged
merged 17 commits into from
Sep 3, 2019
Merged

Conversation

wolfstudy
Copy link
Contributor

Signed-off-by: xiaolong.ran ranxiaolong716@gmail.com

Add create cmd of Pulsar Functions

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy wolfstudy added area/pulsar/functions type/feature Indicates new functionality labels Aug 29, 2019
@wolfstudy wolfstudy self-assigned this Aug 29, 2019
@wolfstudy wolfstudy requested review from sijie and zymap and removed request for sijie and zymap August 29, 2019 03:26
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy wolfstudy changed the title [WIP] Add create cmd of Pulsar Functions Add create cmd of Pulsar Functions Aug 31, 2019
@wolfstudy wolfstudy requested review from sijie and zymap August 31, 2019 10:12
@wolfstudy
Copy link
Contributor Author

@sijie @zymap

Please review this pull request main logic.

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

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

please add tests and improve the documentation.

please check how Yong did for cluster commands.

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

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

Ideally we shouldn't add binary to source repo. test/functions/api-examples.jar . Can you think of improving it?

)

functionData := &pulsar.FunctionData{}

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cool, will fix it

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy
Copy link
Contributor Author

Ideally we shouldn't add binary to source repo. test/functions/api-examples.jar . Can you think of improving it?

In create function, i create a dummy jar file, replace api-examples.jar

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
pkg/ctl/functions/create.go Outdated Show resolved Hide resolved
pkg/ctl/functions/create.go Outdated Show resolved Hide resolved
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy
Copy link
Contributor Author

@sijie @zymap PTAL again

@sijie sijie added this to the 0.0.1 milestone Sep 3, 2019
@sijie sijie merged commit 035e17b into master Sep 3, 2019
@sijie sijie deleted the xiaolong/functions-cmd-localrun branch September 3, 2019 03:50
@sijie sijie mentioned this pull request Sep 4, 2019
29 tasks
tisonkun pushed a commit to tisonkun/pulsar-client-go that referenced this pull request Aug 15, 2023
tisonkun pushed a commit to apache/pulsar-client-go that referenced this pull request Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/pulsar/functions type/feature Indicates new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants