Confluent
CCDAK · Question #29
Kafka is configured with following parameters - log.retention.hours = 168 log.retention.minutes = 168 log.retention.ms = 168 How long will the messages be retained for?
The correct answer is B. 168 ms. If more than one similar config is specified, the smaller unit size will take precedence.
Deployment and Troubleshooting
Question
Kafka is configured with following parameters - log.retention.hours = 168 log.retention.minutes = 168 log.retention.ms = 168 How long will the messages be retained for?
Options
- ABroker will not start due to bad configuration
- B168 ms
- C168 hours
- D168 minutes
How the community answered
(36 responses)- A11% (4)
- B83% (30)
- C3% (1)
- D3% (1)
Explanation
If more than one similar config is specified, the smaller unit size will take precedence.
Topics
#log retention#configuration precedence#retention policy#broker configuration
Community Discussion
No community discussion yet for this question.