-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Deprecations and default-changes in v1.x #2020
Comments
edenhill
changed the title
Deprecations in v1.0
Deprecations and default-changes in v1.0
Dec 1, 2018
edenhill
added a commit
that referenced
this issue
Dec 1, 2018
edenhill
added a commit
that referenced
this issue
Dec 1, 2018
This was referenced Dec 1, 2018
Merged
edenhill
added a commit
that referenced
this issue
Dec 3, 2018
edenhill
added a commit
that referenced
this issue
Dec 4, 2018
edenhill
changed the title
Deprecations and default-changes in v1.0
Deprecations and default-changes in v1.x
Apr 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
librdkafka v1.0 will be API and ABI compatible with the 0.x release train, but will deprecate a number of legacy APIs and configuration settings that will be removed in v2.0.
APIs and functionality to deprecate:
rd_kafka_consume_start|stop()
-> simplifies internal consumer handlingrd_kafka_conf_set_default_topic_config()
-> global config fallthru covers this functionalityrd_kafka_conf_set_dr_cb()
->rd_kafka_conf_set_dr_msg_cb()
is future proofrd_kafka_metadata()
-> will be modified in v2.0 to a more generic and future proof interfacerd_kafka_set_log_cb|rd_kafka_set_log_level()
-> use configuration interfacerd_kafka_AlterConfigs()
->rd_kafka_ModifyConfigs()
with proper atomic functionalityConfiguration settings to deprecate:
socket.blocking.max.ms
-> no longer needed (on Sparse/on-demand connections #2019 merge)topic.metadata.refresh.fast.cnt
-> no longer neededproduce.offset.report
-> no longer neededmax.in.flight.per.connection
-> will remain, butmax.in.flight.per.partition
will be added andmax.in.flight
will be aliased to it.offset.store.path|sync.interval.ms|method
-> only broker commits will be supportedreconnect.backoff.jitter.ms
-> no longer used, replaced byreconnect.backoff.ms
andreconnect.backoff.max.ms
.Other changes:
queuing.strategy=lifo
) will be removed, andrd_kafka_conf_set_msg_order_cmp()
with it. Selective ordering complicates the internal ordering guarantees for idempotent producer.Default changes:
acks
-> will be set toall
, was1
.broker.version.fallback
-> will be set to an ApiVersionRequest supporting versionenable.sparse.connections
-> will be set totrue
enable.partition.eof
-> will be set tofalse
Open questions:
Feedback welcome.
The text was updated successfully, but these errors were encountered: