Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent stream buffer overflow by lowering the rate of incoming partitions #53

Closed
patkivikram opened this issue Dec 4, 2020 · 0 comments · Fixed by #55
Closed

Prevent stream buffer overflow by lowering the rate of incoming partitions #53

patkivikram opened this issue Dec 4, 2020 · 0 comments · Fixed by #55

Comments

@patkivikram
Copy link
Collaborator

Checklist

  • [ x] I have included information about relevant versions
  • [x ] I have verified that the issue persists when using the master branch of Faust.

Steps to reproduce

Have an agent process slowly. When the number of events on its Queue > stream_buffer_maxsize it causes starvation of other stream processors(agents) processing other topics

Expected behavior

Stop fetching data from the slow topic/partition when the buffer reaches a threshold and then resume it after the pressure drops

Full traceback

Paste the full traceback (if there is any)

Versions

  • Python version 3.8
  • Faust version 0.3.0
  • Operating system centos 7.5
  • Kafka version 2.4
  • RocksDB version (if applicable) 6.10.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant