-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
type/featureThe PR added a new feature or issue requested a new featureThe PR added a new feature or issue requested a new feature
Milestone
Description
Out Of Memory is seen frequently while client produced message too quickly and used all the direct memory.
This happens like this:
- Client send message to broker;
- Broker call bookkeeper client to write message to Bookie, and hold the direct memory until write success;
If in the 2nd step the direct memory not get released, then the Broker will get OOM.
It would be great to have a way to detect the memory pressure, and do the publish rate limit if lack of memory; once the memory get back, cancel the rate limit.
Metadata
Metadata
Assignees
Labels
type/featureThe PR added a new feature or issue requested a new featureThe PR added a new feature or issue requested a new feature