模块八作业
1. 背景
设计消息队列存储消息数据的 MySQL 表格
2. 表设计
2.1 消息表

其中,topic_id 和 offset 建立组合索引,方便消费者快速定位消息的消费位置。
2.2 主题表

2.3 消费者表

2.4 消费组表

2.5 消费者与消费组关系表

2.6 消费进度表

其中,consumer_id 和 topic_id 建立组合索引,方便消费者快速查找各主题的消费偏移量。
设计消息队列存储消息数据的 MySQL 表格
其中,topic_id 和 offset 建立组合索引,方便消费者快速定位消息的消费位置。
其中,consumer_id 和 topic_id 建立组合索引,方便消费者快速查找各主题的消费偏移量。
评论