auto.offset.reset - default value for Kafka Broker

965 views
Skip to first unread message

sg

unread,
Aug 8, 2016, 7:22:38 PM8/8/16
to Confluent Platform
Hello,

I see that the preferred default value of auto.offset.reset for the Kafka Broker is "largest".
However, I don't see the default value being set in the code though.
Am I missing anything here?

Thanks,
Sneha

Gwen Shapira

unread,
Aug 8, 2016, 7:37:14 PM8/8/16
to confluent...@googlegroups.com
Its a consumer setting, not a broker setting. It is set here:

https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java#L278
> --
> You received this message because you are subscribed to the Google Groups
> "Confluent Platform" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to confluent-platf...@googlegroups.com.
> To post to this group, send email to confluent...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/confluent-platform/f8021cce-e1e0-43b9-ac36-d31be593d0a0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Gwen Shapira
Product Manager | Confluent
650.450.2760 | @gwenshap
Follow us: Twitter | blog

sg

unread,
Aug 8, 2016, 7:51:38 PM8/8/16
to Confluent Platform
Thanks much.


Reply all
Reply to author
Forward
0 new messages