[improve][fn] Support configure compression type#19470
Conversation
|
/pulsarbot rerun-failure-checks |
1 similar comment
|
/pulsarbot rerun-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #19470 +/- ##
=============================================
- Coverage 60.44% 31.49% -28.96%
+ Complexity 3494 293 -3201
=============================================
Files 1832 1672 -160
Lines 135153 132568 -2585
Branches 14871 15211 +340
=============================================
- Hits 81693 41751 -39942
- Misses 45869 84681 +38812
+ Partials 7591 6136 -1455
Flags with carried forward coverage won't be shown. Click here to find out more.
|
d8976c3 to
c53c47a
Compare
|
/pulsarbot rerun-failure-checks |
c53c47a to
a954922
Compare
|
@jiangpengcheng |
|
/pulsarbot rerun-failure-checks |
3 similar comments
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
There was a problem hiding this comment.
Thanks for your contribution @jiangpengcheng! Generally looks good.
Comments below:
- I don't find changes to Go Functions, do you update it later or it's irrelevant?
- @momo-jun maybe we should update the document for this new feature. Although it can be a light one, the author marks it as
doc-required. But I'm unsure what page is suitable for such changes.
|
@tisonkun thanks for considering the doc development. |
10b22b4 to
3c6b316
Compare
|
@momo-jun a new field the type is |
added go support and suggestions to docs update but the ci(Go function style check) complains about using the deprecated |
@jiangpengcheng thanks for the input. I've drafted apache/pulsar-site#461 to add the docs. |
|
/pulsarbot rerun-failure-checks |
There is no risk, just for back compatibility since current pulsar functions are using One thing I did wrong is that the |
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
|
This updates the function proto. Shouldn't we have had a PIP? |
|
Hi @michaeljmarshall, a mail thread sent on February 28 discussed the change. |
|
Thanks for that link @nlu90! Looks good to me. |
- change was made in apache#19470 - master branch build fails with "SA1019: instanceConf.funcDetails.AutoAck is deprecated: Do not use."
- `go generate ./...` from repo root or - go run internal/update_proto.go <release tag> - fixes #7 Pending sync of changes to apache/pulsar#19470
@jiangpengcheng @nlu90 This PR introduced a change to the compression type default. Only when the producer config is provided, it will use the LZ4 compression default. The producer config is optional and that's why compression will now be NONE by default when the producer config isn't provided. |
Fixes #19462
Motivation
Modifications
Verifying this change
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: jiangpengcheng#6