mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
				synced 2025-11-03 20:18:06 +00:00 
			
		
		
		
	Add first producer test
This commit is contained in:
		@@ -4,6 +4,11 @@ using std::string;
 | 
			
		||||
 | 
			
		||||
namespace cppkafka {
 | 
			
		||||
 | 
			
		||||
Message::Message() 
 | 
			
		||||
: handle_(nullptr, nullptr) {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Message::Message(rd_kafka_message_t* handle) 
 | 
			
		||||
: handle_(handle, &rd_kafka_message_destroy),
 | 
			
		||||
payload_((const Buffer::DataType*)handle_->payload, handle_->len),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user