We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Confluent 3.0.1 on Debian:
Traceback (most recent call last): File "./main.py", line 22, in <module> producer = Producer({'bootstrap.servers': bootstrap_servers, 'api.version.request': 'true', 'request.required.acks': -1}) cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="No such configuration property: "request.required.acks""}
All combinations with the above settings, short version acks, and '-1' has the same effect.
acks
'-1'
The text was updated successfully, but these errors were encountered:
acks (request.required.acks) is a topic-level configuration property so you will need to set it in the default.topic.conf sub-dict, like so:
request.required.acks
default.topic.conf
conf = {'bootstrap.servers': broker, 'default.topic.config': {'acks': 'all'}}
Sorry, something went wrong.
That worked. Thanks for the quick response.
No branches or pull requests
Using Confluent 3.0.1 on Debian:
All combinations with the above settings, short version
acks
, and'-1'
has the same effect.The text was updated successfully, but these errors were encountered: