brod icon indicating copy to clipboard operation
brod copied to clipboard

Implement a pool of topic-partition workers

Open k32 opened this issue 6 years ago • 3 comments

group_subscriber_v2 behavior adds parallelism to group subscribers. However, spawning too many parallel workers may become a problem. There should be a way to put an upper limit on the number of parallel workers.

k32 avatar Sep 26 '19 08:09 k32

However, spawning too many parallel workers may become a problem.

Would having 6 partitions cause disruption? How many is too many? I'm seeing connection issues to Confluent.

jeffrade avatar Nov 11 '19 14:11 jeffrade

Hi!

How many is too many?

It depends on the broker settings. We don't use Confluent-managed Kafka, so I don't know how many parallel connections per host they allow. In relative terms 6 doesn't seem too many, we easily use 20 per host.

k32 avatar Nov 11 '19 15:11 k32

@k32 Thanks, appreciate the quick response.

Any idea(s) what might be causing our issue here: https://github.com/klarna/brod/issues/357

jeffrade avatar Nov 11 '19 15:11 jeffrade