1,Git clone
git clone https://github.com/edenhill/librdkafka.git
2,cd librdkafka/
3,./configure
4,make
5,sudo make install
最后鏈接lib庫:
-lrdkafka++
other
Link your program with -lrdkafka -lz -lpthread -lrt.
參考連接:https://github.com/edenhill/librdkafka
1,Git clone
git clone https://github.com/edenhill/librdkafka.git
2,cd librdkafka/
3,./configure
4,make
5,sudo make install
最后鏈接lib庫:
-lrdkafka++
other
Link your program with -lrdkafka -lz -lpthread -lrt.
參考連接:https://github.com/edenhill/librdkafka
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。