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
From the docs I'm seeing that Producer implements __len__. Would this give me the number of messages in the local buffer? Or would it give me number of messages in the local buffer in addition to some other things?
Is there a way to specifically get the number of messages in the local buffer so that I can use that to determine if my max.messages config property should be increased?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From the docs I'm seeing that Producer implements
__len__
. Would this give me the number of messages in the local buffer? Or would it give me number of messages in the local buffer in addition to some other things?Is there a way to specifically get the number of messages in the local buffer so that I can use that to determine if my max.messages config property should be increased?
Beta Was this translation helpful? Give feedback.
All reactions