[fix][fn] Revert change to deprecation since it broke the master branch#19904
Conversation
- change was made in apache#19470 - master branch build fails with "SA1019: instanceConf.funcDetails.AutoAck is deprecated: Do not use."
eolivelli
left a comment
There was a problem hiding this comment.
+1
let's fix master branch
Codecov Report
@@ Coverage Diff @@
## master #19904 +/- ##
============================================
- Coverage 30.82% 30.61% -0.21%
+ Complexity 295 294 -1
============================================
Files 1680 1680
Lines 127262 127294 +32
Branches 13877 13879 +2
============================================
- Hits 39230 38973 -257
- Misses 82164 82484 +320
+ Partials 5868 5837 -31
Flags with carried forward coverage won't be shown. Click here to find out more. |
Currently, you can always set autoAck to true, when you want to set This feature is supported in 2.11.0, and after the next 2~3 versions, we can delete the
Actually used, In go, the MANUAL configuration is not used directly to make any judgments, but it is useful to replace the For example, when pulsar/pulsar-function-go/pf/instance.go Lines 374 to 378 in 5529301 |
Motivation
Master branch build fails with this error message:
Modifications
Revert change to deprecation
Documentation
docdoc-requireddoc-not-neededdoc-complete