shanthoosh opened a new pull request #1007: SAMZA-2173: Fix 
NullPointerException in SetConfig MessageFormat when configurations are deleted.
URL: https://github.com/apache/samza/pull/1007
 
 
   Currently the configurations in the coordinator stream are deleted by 
sending a  Delete message with  message-map set as null and type set as 
`SetConfig.TYPE`. 
   
   To read configurations from the coordinator stream, there should be a check 
at the caller API to find if configuration message has been deleted or not. 
Otherwise it results in a NPE. 
   
   This patch encapsulates the isDelete check into the SetConfig class and 
returns null if the configuration key has been deleted.

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