Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update producer default settings #112

Open
jamescway opened this issue Jun 15, 2015 · 1 comment
Open

Update producer default settings #112

jamescway opened this issue Jun 15, 2015 · 1 comment

Comments

@jamescway
Copy link
Contributor

#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)

@rtyler
Copy link
Member

rtyler commented Jun 15, 2015

I spoke briefly with @polynomial about this and there is definitely some trade-off to be made here. Before we change the defaults, we should probably do a lot more experimentation to take a simulated load and execute it against a Kafka cluster with/without the minimum required acks.

There's also some questions I have around the use/exposure of the min.insync.replicas setting as it relates to Hermann.

@rtyler rtyler modified the milestone: 1.0 - API stabilization Sep 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants