Skip to content

Commit 76caa71

Browse files
committed
update
1 parent 61344a7 commit 76caa71

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
### 数据库
2323
- [MySQL](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/database/MySQL.md)
2424

25-
- [Redis](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/database/Redis.md)
26-
2725
- [MySQL数据库开发规范](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/database/DataBaseDesign.md)
2826

2927
### 计算机网络
@@ -48,7 +46,7 @@
4846
- [系统设计](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/scene/Scene-Design.md)
4947

5048
### 框架原理
51-
| 🧐 | 🥇 | 🏄 | 🌈 ||️ 🚀 | 🎯 | 🍻 | 🦄|
52-
| :--------: | :---------: | :---------: | :---------: | :---------: | :---------:| :---------: | :-------: | :-------: |
53-
| [Spring](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Spring.md) | [MyBatis](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/MyBatis.md) |[Solr](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Solr.md) | [Dubbo](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Dubbo.md) | [Netty](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/netty.md)|[Kafka](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Kafka.md)|[Zookeeper](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Zookeeper.md)|[Nginx](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Nginx.md)|[Tomcat](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Tomcat.md)|
49+
| 🧐 | 🥇 | 🏄 | 🌈 ||️ 🚀 | 🎯 | 🍻 | 🦄| 🏖 |
50+
| :--------: | :---------: | :---------: | :---------: | :---------: | :---------:| :---------: | :-------: | :-------: | :-------: |
51+
| [Spring](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Spring.md) | [MyBatis](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/MyBatis.md) |[Solr](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Solr.md) | [Dubbo](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Dubbo.md) | [Netty](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/netty.md)|[Kafka](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Kafka.md)|[Zookeeper](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Zookeeper.md)|[Nginx](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Nginx.md)|[Tomcat](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/framework/Tomcat.md)| [Redis](https://github.com/zaiyunduan123/Java-Interview/blob/master/notes/database/Redis.md)|
5452

notes/framework/Kafka.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@
4646

4747

4848

49-
## Kafka介绍
49+
# Kafka介绍
5050
Kafka是最初由Linkedin公司开发,是一个分布式、支持分区的(partition)、多副本的(replica),基于zookeeper协调的分布式消息系统,它的最大的特性就是可以实时的处理大量数据以满足各种需求场景:比如基于hadoop的批处理系统、低延迟的实时系统、storm/Spark流式处理引擎,web/nginx日志、访问日志,消息服务等等,用scala语言编写,Linkedin于2010年贡献给了Apache基金会并成为顶级开源项目。
5151

52-
## Kafka特性
52+
# Kafka特性
5353
- 高吞吐量、低延迟:kafka每秒可以处理几十万条消息,它的延迟最低只有几毫秒,每个topic可以分多个partition, consumer group 对partition进行consume操作。
5454
- 可扩展性:kafka集群支持热扩展
5555
- 持久性、可靠性:消息被持久化到本地磁盘,并且支持数据备份防止数据丢失
5656
- 容错性:允许集群中节点失败(若副本数量为n,则允许n-1个节点失败)
5757
- 高并发:支持数千个客户端同时读写
5858

59-
## Kafka使用场景
59+
# Kafka使用场景
6060
- 日志收集:一个公司可以用Kafka可以收集各种服务的log,通过kafka以统一接口服务的方式开放给各种consumer,例如hadoop、Hbase、Solr等。
6161
- 消息系统:解耦和生产者和消费者、缓存消息等。
6262
- 用户活动跟踪:Kafka经常被用来记录web用户或者app用户的各种活动,如浏览网页、搜索、点击等活动,这些活动信息被各个服务器发布到kafka的topic中,然后订阅者通过订阅这些topic来做实时的监控分析,或者装载到hadoop、数据仓库中做离线分析和挖掘。
6363
- 运营指标:Kafka也经常用来记录运营监控数据。包括收集各种分布式应用的数据,生产各种操作的集中反馈,比如报警和报告。
6464
- 流式处理:比如spark streaming和storm
6565
- 事件源
6666

67-
## Kafka术语
67+
# Kafka术语
6868
- 消息:Record。Kafka 是消息引擎嘛,这里的消息就是指 Kafka 处理的主要对象。
6969
- 主题:Topic。主题是承载消息的逻辑容器,在实际使用中多用来区分具体的业务。
7070
- 分区:Partition。一个有序不变的消息序列。每个主题下可以有多个分区。

0 commit comments

Comments
 (0)