Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What do you mean by BufferExhaustedException and OutOfMemoryException in Kafka?

Pragya Keshap answered on February 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


What do you mean by BufferExhaustedException and OutOfMemoryException in Kafka?

0

When the producer can't assign memory to a record because the buffer is full, a BufferExhaustedException is thrown. If the producer is in non-blocking mode, and the rate of production exceeds the rate at which data is transferred from the buffer for long enough, the allocated buffer will be depleted, the exception will be thrown.

If the consumers are sending huge messages or if there is a spike in the number of messages sent at a rate quicker than the rate of downstream processing, an OutOfMemoryException may arise. As a result, the message queue fills up, consuming memory space 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Tags: mean whatever
Link to this answer
Share Copy Link
Contributed on Feb 23 2023
Pragya Keshap
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.