# be set to delete segments after a period of time, or after a given size has accumulated. # A segment will be deleted whenever *either* of these criteria are met. Deletion always happens # from the end of the log. # The minimum age of a log file to be eligible for deletion due ...
会被topic创建时的指定参数覆盖 log.retention.check.interval.ms=5minutes 文件大小检查的周期时间,是否处罚 log.cleanup.policy中设置的策略 log.cleaner.enable=false 是否开启日志压缩 log.cleaner.threads = 2 日志压缩运行的线程数 log.cleaner.io.max.bytes.per.second=None 日志压缩时候处理的最大大小 log.cl...
If no, change the value to true and go to 10. Check whether the adapter.topic.min.retention.hours parameter, indicating the minimum data retention period, is properly configured. If yes, go to 12. If no, set it to a proper value and go to 12. If the retention period cannot be adjus...
# A segment will be deleted whenever *either* of these criteria are met. Deletion always happens # from the end of the log. # The minimum age of a log file to be eligible for deletion log.retention.hours=168 # A size-based retention policy for logs. Segments are pruned from the log...
# The minimum ageofalogfiletobe eligiblefordeletion duetoage # 目前保留72小时,但是去年的数据都还在,没被删除,不清楚为啥没生效log.retention.hours=72# Asize-based retention policyforlogs. Segmentsareprunedfromthelogunless the remaining # segmentsdropbelowlog.retention.bytes. Functions independentlyoflog....
retention_time No Integer Message retention period. The default value is 72.Value range: 1–720. Unit: hour. topic_other_configs No Array of topic_other_configs objects Topic configuration. topic_desc No String Topic description. Minimum: 0 Maximum: 200 Table 3 topic_other_configs Parameter ...
# be set to delete segments after a period of time, or after a given size has accumulated. # A segment will be deleted whenever *either* of these criteria are met. Deletion always happens # from the end of the log. # The minimum age of a log file to be eligible for deletion due ...
一个topic的大小限制=分区数*log.retention.bytes -1表示没有大小限制 log.retention.check.interval.ms=5minutes 文件大小检查的周期时间 /*自动确认offset的时间间隔*/props.put("auto.commit.interval.ms","1000"); props.put("session.timeout.ms","30000");//消息发送的最长等待时间.需大于session.timeout...
records for at most the max.compaction.lag.ms period. min.compaction.lag.ms type: long default: 0 valid values: [0,…] server default property: log.cleaner.min.compaction.lag.ms importance: medium the minimum time a message will remain uncompacted in the log. only applicable ...
Topics are normally broken down into a number of partitions to improve throughout, with a recommended minimum of three partitions. Messages are written to a topic partition in an append only fashion. Partitions are further replicated across multiple brokers to improve re...