liketic opened a new pull request #4369: Avoid to create map object for Flume 
source
URL: https://github.com/apache/pulsar/pull/4369
 
 
   Currently, we have a Pulsar connector which moving data to Flume channel. 
And we have a string sink (for Pulsar) which is a source for Flume , which hold 
a global queue for transferring data in different class, which element type is 
```Map```, and when we popping record from the queue, we only need a value 
which key is fixed as ```body```. Here if we have a lot of records to transfer, 
we'll create a lot of little objects.  
   So we can change the type of queue's element to object and store the data we 
wanted. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to