Skip to content

how to improve kafka producer throughput? #137

Closed
@whitelilis

Description

@whitelilis

hi,all
When I use sync producer, the message is send slowly.
When I use async producer to deal with lots of messages, it work faster. I see python generate another process( to buffer and flush ?), and the memory it used is keep growing. At last, the system oom killer will kill some of it, then another.
I guess it's because my message generate rate is larger than kafka's throughput. Am I right ? If it is, how to imporve? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions