十三:kafka分布式部署

本文介绍了Kafka作为分布式流平台的主要功能,对比了Kafka与Flume的区别,并详细阐述了Kafka的分布式部署步骤,包括Zookeeper的安装、Scala环境配置、Kafka的选型与安装,以及在CDH上的使用和创建Topic的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一:kafka概述:

就一个消息中间件,当前官网叫做:分布式流平台a distributed streaming platform:
A streaming platform has three key capabilities:

1.Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system.
2.Store streams of records in a fault-tolerant durable way.
3.Process streams of records as they occur.

Kafka is generally used for two broad classes of applications:

1.Building real-time streaming data pipelines that reliably get data between systems or applications
2.Building real-time streaming applications that transform or react to the streams of data

二:kafak对比Flume:

Flume is a distributed, reliable, and available system for efficiently collecting, aggregating, and moving large amounts of log data from many different sources to a centralized data store.

Flume: 只有1个进程:含Source Channel Sink
kafka : 有3个进程: producer broker cousumer
生成者 服

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值