原创 shell腳本向Kafka裏生產數據

開始寫腳本的時候,不知道如何把數據不用手動寫入Kafka,只能在屏幕上單個輸入。 #!/bin/bash kafkaPath=/****自己kafka的路徑****/ zkaddress=127.0.0.1:2181 kafkaa

原创 error conversion from double to non-scalar type std string requested

error: conversion from ‘double’ to non-scalar type ‘std::string’ requested 源代碼: string t_strScore = m_MTaskRedis->M

原创 error: passing ‘const std::string‘ as ‘this‘ argument of

error: passing ‘const std::string’ as ‘this’ argument of ‘std::basic_string<_CharT, _Traits, _Alloc>& std::basic_st