-
Notifications
You must be signed in to change notification settings - Fork 9
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
Refactor KafkaSink #205
base: master
Are you sure you want to change the base?
Refactor KafkaSink #205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add comments to each change, like why we need the on tick etc.
|
||
def _kafka_poll(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add unthrottle back to kafka_poll.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change in the comment.
Also, please test a throughput before merging.
It must be in >200k EPS ...
"batch.num.messages": "100000", | ||
"linger.ms": "500", # This settings makes a significant impact on the throughtput | ||
"batch.size": "1000000", | ||
"poll.timeout": "0.1", | ||
# "compression.type": "snappy", | ||
|
||
# Custom options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Options that are not for librdkafka ...
poll
function removed fromon_tick
process