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

Implement batching #38

Open
avelanarius opened this issue Dec 13, 2019 · 0 comments
Open

Implement batching #38

avelanarius opened this issue Dec 13, 2019 · 0 comments
Assignees
Labels
kafka zpp ZPP: student project

Comments

@avelanarius
Copy link

Modify produce method in kafka_producer to add the message to some internal buffer/queue instead of sending immediately.

Internal buffer should be flushed (requests sent to brokers) periodically and it could be controlled by such parameters:

  • max_buffer_size (max number of records or max KB batched)
  • linger_time_ms (send partial buffer after some time)
  • manual flush()
@avelanarius avelanarius added zpp ZPP: student project kafka labels Dec 13, 2019
@avelanarius avelanarius self-assigned this Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kafka zpp ZPP: student project
Projects
None yet
Development

No branches or pull requests

1 participant