You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Functions] Need a way to disable message batching between functions #9986
Is your feature request related to a problem? Please describe.
It has been identified that there is a major stability issue that appears to be associated with message batching. As Pulsar functions currently always have .enableBatching(true) set during instance creation, there needs to be a way to disable message batching per user config.
Describe the solution you'd like
I'm proposing the ability to set a default function batching setting in WorkerConfig that will affect the entire cluster. Then, if individual functions need to be set more specifically during deployment, a setting in their FunctionDetails will allow that customization as well.
Describe alternatives you've considered
Although an ideal PR would fix the underlying stability issues with message batching, we need a working solution ASAP for high-traffic Pulsar function-heavy workloads, so allowing users to disable message batching will give them that flexibility in case they are having issues with it in their function workloads. This PR should get those users to a working state quickly and buy more time to create a fix for the underlying issues with message batching.
Additional context
In the event that message batching actually isn't the cause of the freezing topic issue (#6054), well, this will still be a nice feature and will help us rule that out.
Activity
apache#9986 - Created workaround for apache#6054
apache#9986 - Generalized implementation and overhauled approach, mak…
apache#9986 - Updated reference in test.
apache#9986 - Fixed styleCheck.
apache#9986 - Significantly improved exception handling, introduced m…
apache#9986 - Improved comments and refactored function default prope…
apache#9986 - Fixed license header
apache#9986 - Fixed a few bugs and got tests passing
apache#9986 - Fixed test setup for ContextImplTest
apache#9986 - Added more tests to try to determine why some tests are…
apache#9986 - Fixed bug in test
apache#9986 - Reverting tests on black yaml file because it was throw…
16 remaining items
apache#9986 - Rolled back extra flow
Issue apache#9986 - added ssh access to ci-unit workflow and removed …
Issue apache#9986 - added ssh access to wrong repo
Issue apache#9986 - added ssh access to ci-unit workflow and removed …
Issue apache#9986 - Fixed references to validateUpdate
tisonkun commentedon Dec 10, 2022
Closed as stale. Please create a new issue if it's still relevant to the maintained versions.
It seems the discussion on mailing list had no consensus.