Skip to content

Question: Consumer Configuration Recommendations for 1000+ Consumer Production System #284

@nhr-one

Description

@nhr-one

Hi all,

I'm in the process of doing a KafkaJS -> @confluentinc/kafka-javascript migration for my company. We heavily use Kafka as our backbone, and we have > 1000 consumer groups across hundreds of topics.

Right now, we use KafkaJS with no special configuration for the consumer. When swapping out the two libraries in place, we run into OOM issues upon startup.

Are there recommendations on configuration options we should set to reach more or less equivalent behavior to KafkaJS? I've found the following options, and tried setting them a few different times, but still running into problems:

'fetch.max.bytes'
'queued.max.messages.kbytes'
'queued.min.messages'
'fetch.message.max.bytes'

What are reasonable values to consider here? Are there other parameters we should look to tweak?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions