Current state: Under Discussion
Discussion thread: WIP
JIRA:
Kafka allows users to configure its behavior through multiple methods:
However, there is no standardized or consistent approach for determining which source takes precedence when multiple are provided simultaneously. This inconsistency can cause user confusion and make the system more bug-prone. This KIP aims to establish a clear and uniform priority order for property loading.
The priority order for loading properties into Kafka configurations is as follows:
Command line arguments (if allowed) have the highest priority, and default values have the lowest.
Tools that can be configured through both command line arguments and configuration files should be adjusted accordingly
The following tools will be updated:
Impact: Existing users who might have configured their settings based on the tools, which implementing their own loading order, rather than the priority proposed here, would be impacted.
Unit tests will be added to ensure that the properties are loaded according to the priority order as proposed.
1. Allowing Customizable Property Precedence