1.2 Use Cases中 Commit Log官网剖析(博主推荐)

时间:2024-04-20 07:37:26

不多说,直接上干货!

  一切来源于官网

http://kafka.apache.org/documentation/

1.2 Use Cases中  Commit Log官网剖析(博主推荐)

Commit Log

提交日志

  Kafka can serve as a kind of external commit-log for a distributed system. The log helps replicate data between nodes and acts as a re-syncing mechanism for failed nodes to restore their data. The log compaction feature in Kafka helps support this usage. In this usage Kafka is similar to Apache BookKeeper project.

kafka可以作为一种分布式的外部提交日志,日志帮助节点之间复制数据,并作为失败的节点来恢复数据重新同步,
kafka的日志压缩功能很好的支持这种用法,这种用法类似于Apacha BookKeeper项目。