Closed mhowlett closed 6 years ago
We should merge default.topic.config with the global dict and then rely on global-topic fallthru. And deprecate default.topic.config.
i spent 2 days on this!!!! thanks @mhowlett
@edenhill this must be somehow noted in the docs.
if in Consumer side {'auto.offset.reset': 'earliest'}
doesn't work for you even tough you're on latest stable versions, use this: 'default.topic.config': {'auto.offset.reset': 'smallest'}
instead.
cheers. feel like a block off my chest.
Both didn't work on the AvroConsumer :sob:
This should be fixed with https://github.com/confluentinc/confluent-kafka-python/pull/446 which will be in the next release. The AvroConsumer passes the value through to librdkafka so that's a bit odd you are finding this does not work.
Can you verify your consumer group does not currently have any valid offsets from which to recover from. Remember that auto.offset.reset
only applies when a valid offset can't be found. If your consumer group is able to recover committed offsets within a valid offset range the reset policy is not enacted.
fixed with #446
Description
Specifying 'auto.offset.reset' as a top level property does not result in an error, but seems to be ignored.
How to reproduce
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
): libversion: ('0.11.4-RC1', 722121), version: ('0.11.4', 721920){...}
'debug': '..'
as necessary)