原创 libevent源碼分析(3)--2.1.8--結構體struct event_base和struct eventop

一、struct eventop結構體 struct eventop { /** The name of this backend. */ // 後臺方法名字,即epoll,select,poll等 const

原创 libevent源碼分析(6)--2.1.8--創建和釋放libevent句柄event_base的相關函數

一、event_base_new 創建默認的event_base ** * Create and return a new event_base to use with the rest of Libevent. * * @ret

原创 kafka文檔(17)----0.10.1-Document-文檔(9)-IMPLEMENTATION-實現

5.1 API Design 5.1 API 設計 Producer APIs Producer APIs The Producer API that wraps the 2 low-level producers Produc

原创 kafka文檔(14)----0.10.1-Document-文檔(6)-configures-Kafka Connect配置信息

3.4 Kafka Connect Configs Below is the configuration of the Kafka Connect framework. 下面是kafka Connect框架的配置 NAME DES

原创 libevent源碼分析(7)--2.1.8--信號事件處理機制分析

一、信號綁定機制      簡單來說,就是將外部信號轉換爲內部IO事件來處理。      由於信號捕捉函數是全局綁定的,所以沒辦法像IO事件一樣,將IO事件和文件描述符綁定在一起,而libevent又需要將IO事件、信號事件、定時事件都

原创 libevent源碼分析(2)--2.1.8--結構體 struct event和struct event_callback

一、event_callback結構體 struct event_callback { //下一個回調事件 TAILQ_ENTRY(event_callback) evcb_active_next; //回調

原创 libevent源碼分析(4)--2.1.8--結構體struct event_config

一、event_entry結構體 struct event_config_entry { // 下一個屏蔽的後臺方法名 TAILQ_ENTRY(event_config_entry) next; // 屏蔽的

原创 Elasticsearch Reference [5.2] » Setup Elasticsearch

Setup Elasticsearchedit 配置Elasticsearch This section includes information on how to setup Elasticsear

原创 kafka文檔(15)----0.10.1-Document-文檔(7)-configures-Kafka Streams配置信息

3.5 Kafka Streams Configs Below is the configuration of the Kafka Streams client library. NAME DESCRIPTION TYPE DEF