[ 
https://issues.apache.org/jira/browse/KAFKA-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423466#comment-13423466
 ] 

Jay Kreps commented on KAFKA-181:
---------------------------------

The assumption is that the properties are only used during initialization and 
are passed into other components as simple constructor args. I notice this 
isn't universally true, but is generally a good pattern so we could refactor 
the cases where it isn't true.

So basically it should be safe to check at the end of kafka server startup and 
warn about any unused properties.
                
> Log errors for unrecognized config options
> ------------------------------------------
>
>                 Key: KAFKA-181
>                 URL: https://issues.apache.org/jira/browse/KAFKA-181
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>            Reporter: Joel Koshy
>             Fix For: 0.8
>
>
> Currently, unrecognized config options are silently ignored. Notably, if a 
> config has a typo or if a deprecated config is used, then there is no warning 
> issued and defaults are assumed. One can argue that the broker or a consumer 
> or a producer with an unrecognized config option should not even be allowed 
> to start up especially if defaults are silently assumed, but it would be good 
> to at least log an error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to