- Status
- Motivation
- Public Interfaces
- Proposed Changes
- Compatibility, Deprecation, and Migration Plan
- Rejected Alternatives
Status
Current state: Under Discussion
Discussion thread:
JIRA: here
Pull Request:
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
Now the summary of stream-tread is record every two minutes, and not support close or update intervals.
When the kafka is running, this is absolutely unnecessary and even harmful since it fills the logs and thus storage space with unwanted and useless data.
Public Interfaces
New configuration in StreamsConfig
Name | Type | Importance | Default | Description |
---|---|---|---|---|
log.summary.interval.ms | Long | LOW | 2 * 60 * 1000L | This configuration item will control the output interval of summary information. If the configuration item value is less than 0, summary output will be disabled |
Proposed Changes
Adding a new configuration in StreamsConfig : log.summary.interval.ms, By setting this configuration item, users can customize the output frequency of summary log or disable summary log
- the value of log.summary.interval.ms greater or equal to 0, summary log will be output according to the set time interval
- the value less than 0, summary log will be disable
Compatibility, Deprecation, and Migration Plan
- log.summary.interval.ms is set to 2*60*1000 by default,this is the same value as the current version then the will not affect any existing functionality, This value will only be valid if the user explicitly sets it
Rejected Alternatives
- add a new configuration log.summary.interval.switch to control if enable summary log
- add a new configuration log.summary.interval.ms to control the output interval of summary log