2020年8月5日

Kafka 消费者及消费者分区策略

摘要: 消费方式: consumer 采用 pull(拉)模式从 broker 中读取数据。 push(推)模式很难适应消费速率不同的消费者,因为消息发送速率是由 broker 决定的。 它的目标是尽可能以最快速度传递消息,但是这样很容易造成 consumer 来不及处理消息,典型的表现就是拒绝服务以及网络 阅读全文

posted @ 2020-08-05 23:07 wsw_seu 阅读(1670) 评论(0) 推荐(0) 编辑

c++与c

摘要: const char* c_str ( ) const; Get C string equivalent Generates a null-terminated sequence of characters (c-string) with the same content as the string 阅读全文

posted @ 2020-08-05 22:48 wsw_seu 阅读(206) 评论(0) 推荐(0) 编辑

导航