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

[Functions] Enable poolMessages of functions by default #13254

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wangjialing218
Copy link
Contributor

Motivation

We have introduced poolMessages for consumer by PIP-83, and add configuration for functions by #11618
The default value of poolMessage is false if user did not config it in FunctionConfig.

It's better to enable poolMessage for function instance to avoid high work load of JVM GC. And user do not need to call release API for each messages, we have already did that in function instance side.
For those user developing functions, they do not need to known the detail of memory usage with poolMessage and whether they need to enable poolMessage when create functions.

Modifications

Enable poolMessages of functions by default

Verifying this change

This change is already covered by existing tests, such as testPoolMessages()

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • no-need-doc

    Only change default value

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 13, 2021
@wangjialing218
Copy link
Contributor Author

The failed test testPulsarSinkDLQ seems caused by a existed issue, I have record the detail in #13269

@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

@Technoboy- Technoboy- added this to the 3.2.0 milestone Jul 31, 2023
@Technoboy- Technoboy- modified the milestones: 3.2.0, 3.3.0 Dec 22, 2023
@coderzc coderzc modified the milestones: 3.3.0, 3.4.0 May 8, 2024
@lhotari lhotari modified the milestones: 4.0.0, 4.1.0 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs lifecycle/stale Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants