PanTheMan opened a new pull request #1333: SAMZA-2497: Close 
MetadataResourceUtil when job is stopped
URL: https://github.com/apache/samza/pull/1333
 
 
   **Symptoms**: Error message about a Kafka consumer allocated but not closed 
appears in our log messages
   **Cause**: The MetadataResouceUtil has a Kafka checkpoint manager that is 
never closed in our code. A LifeCycleAwareConsumer sees this and complains 
about it.
   **Fix:**: Add a stop in MetadataResourceUtil that will close the checkpoint 
manager in it. Then have MetadataResourceUtil.stop called everywhere it's used 
when the job is stopped
   **Tests**: Any job that uses ProcessJob or PassthroughJobCoordinator will 
see errors in the log files about a Kafka consumer allocated but not closed. 
With this fix in, that error shouldn't appear

----------------------------------------------------------------
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