Skip to content

Add create cmd of Pulsar Functions - #15

Merged
sijie merged 17 commits into
masterfrom
xiaolong/functions-cmd-localrun
Sep 3, 2019
Merged

Add create cmd of Pulsar Functions#15
sijie merged 17 commits into
masterfrom
xiaolong/functions-cmd-localrun

Conversation

@wolfstudy

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@sijie @zymap

Please review this pull request main logic.

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

@sijie sijie left a comment

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.

please add tests and improve the documentation.

please check how Yong did for cluster commands.

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

@sijie sijie left a comment

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.

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

Comment thread pkg/ctl/functions/create.go Outdated
)

functionData := &pulsar.FunctionData{}

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.

Copy link
Copy Markdown
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
Copy Markdown
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>
Comment thread pkg/ctl/functions/create.go Outdated
Comment thread pkg/ctl/functions/create.go Outdated
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy

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