Skip to content

Update producer default settings #112

Open
@jamescway

Description

#Current defaults
      DEFAULTS = {
                    'partitioner.class'     => 'kafka.producer.DefaultPartitioner',
                    'request.required.acks' => '1',
                    'message.send.max.retries' => '0'
                  }.freeze

I'm thinking we should make:
request.required.acks = -1 (needs ack from all ISR's, best durability)
message.send.max = 3 (to made the tradeoff towards reliability, when the cost is possibility of dups)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions