Skip to content

Commit

Permalink
Update lib/broadway_kafka/producer.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
oliveigah and josevalim authored Jul 18, 2024
1 parent 23dafe8 commit e056c9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/broadway_kafka/producer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,8 @@ defmodule BroadwayKafka.Producer do
## Shared Client Performance
Enable shared client may drastically decrease performance. This happens because mutiple producers may block
each other waiting for the client response since the connection is hidden inside a process it becomes a
bottleneck.
Enabling shared client may drastically decrease performance. Since connection is handled by a single process,
producers may block each other waiting for the client response.
This is more likely to be an issue if the producers on your pipeline are fetching message from multiple topics
and specially if there are very low traffic topics in the mix because of batch wait times.
Expand Down

0 comments on commit e056c9a

Please sign in to comment.