You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2017/11/29 20:07:24 UTC

[GitHub] rdhabalia opened a new pull request #927: Fix: failed producer creation leak

rdhabalia opened a new pull request #927: Fix: failed producer creation leak
URL: https://github.com/apache/incubator-pulsar/pull/927
 
 
   ### Motivation
   
   Recently, we have seen that due to invalid replication-cluster configuration, replication producers failed to do lookup and it producer creation failed. But, client doesn't clean up failed producer which creates a leak and creates too many live producer objects. So, PulsarClient should clean up producer if producer creation failed.
   
   ### Modifications
   
   Clean up failed producers from pulsar-client's producer-map.
   
   ### Result
   
   It prevents leak when producer creation fails.
   

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


With regards,
Apache Git Services