File tree 1 file changed +4
-2
lines changed
clients/src/main/java/org/apache/kafka/common/config
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,10 @@ public class TopicConfig {
58
58
public static final String FLUSH_MS_CONFIG = "flush.ms" ;
59
59
public static final String FLUSH_MS_DOC = "This setting allows specifying a time interval at which we will " +
60
60
"force an fsync of data written to the log. For example if this was set to 1000 " +
61
- "we would fsync after 1000 ms had passed. In general we recommend you not set " +
62
- "this and use replication for durability and allow the operating system's background " +
61
+ "we would fsync after 1000 ms had passed. Note that this setting depends on the broker-level " +
62
+ "configuration \" log.flush.scheduler.interval.ms\" , which controls how frequently the flush check occurs. " +
63
+ "If \" log.flush.scheduler.interval.ms\" is not configured, the topic config \" flush.ms\" will not be triggered. " +
64
+ "In general we recommend you not set this and use replication for durability and allow the operating system's background " +
63
65
"flush capabilities as it is more efficient." ;
64
66
65
67
public static final String RETENTION_BYTES_CONFIG = "retention.bytes" ;
You can’t perform that action at this time.
0 commit comments