Sönke Liebau created KAFKA-5629:
-----------------------------------

             Summary: Console Consumer overrides auto.offset.reset property 
when provided on the command line without warning about it.
                 Key: KAFKA-5629
                 URL: https://issues.apache.org/jira/browse/KAFKA-5629
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
    Affects Versions: 0.11.0.0
            Reporter: Sönke Liebau
            Assignee: Sönke Liebau
            Priority: Trivial


The console consumer allows to specify consumer options on the command line 
with the --consumer-property parameter.

In the case of auto.offset.reset this parameter will always silently be ignored 
though, because this behavior is controlled via the --from-beginning parameter.
I believe that behavior to be fine, however we should log a warning in case 
auto.offset.reset is specified on the command line and overridden to something 
else in the code to avoid potential confusion.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to