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

How to set max.in.flight.requests.per.connection ? #195

Open
olivetree123 opened this issue Jul 7, 2018 · 1 comment
Open

How to set max.in.flight.requests.per.connection ? #195

olivetree123 opened this issue Jul 7, 2018 · 1 comment

Comments

@olivetree123
Copy link

I want to output data to kafka in order, so I want to set max.in.flight.requests.per.connection to 1.
How to do ?

@cclient
Copy link

cclient commented Mar 21, 2021

https://github.com/cclient/logstash-output-kafka

modify and rebuild

  props.put(kafka::MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION, max_in_flight_requests_per_connection.to_s)  unless max_in_flight_requests_per_connection.nil?
  props.put(kafka::ENABLE_IDEMPOTENCE_CONFIG, enable_idempotence.to_s) unless enable_idempotence.nil?

docker pull cclient/logstash:6.8.13
docker pull cclient/logstash:6.3.0

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

No branches or pull requests

3 participants