Kafka主题下的消息也称为日志?

时间:2019-02-27 07:19:19

标签: apache-kafka kafka-consumer-api kafka-producer-api spring-kafka

Kafka主题下的消息也称为日志?

日志分区=主题消息分区?

# The default number of log partitions per topic. More partitions allow greater
# parallelism for consumption, but this will also result in more files across
# the brokers.
num.partitions=1

1 个答案:

答案 0 :(得分:3)

在卡夫卡世界中,“日志”一词指的是经纪人本身存储的消息。我可以理解,有时它可能会引起混乱,但它与“日志记录”无关(例如,有关显示代理的状态)。