-
Notifications
You must be signed in to change notification settings - Fork 136
[BUG] The minBytes and maxWait parameters in the fetch request are invalid #699
Comments
You're right, it was not supported yet. I also found the problem of consumer side when I ran performance tests. Since we've already migrated the |
I am willing to fix this problem, please assign this issue to me! @BewareMyPower |
@BewareMyPower I have mentioned a PR here #702 |
Describe the bug
When the client consumes a topic with no data, the client will send fetch requests frantically. Under normal circumstances, when the server's data is less than fetchRequest.minBytes(), it should wait until the data arrives or timeout. One impact of this is: when there are too many such clients, server-side cpu resources will be severely consumed, affecting service stability:
Solution
I try to delay response on the KoP server, when the amount of readable data is less than fetchRequest.minBytes()
The text was updated successfully, but these errors were encountered: