shanthoosh removed a comment on issue #1007: SAMZA-2173: Fix 
NullPointerException in SetConfig MessageFormat when configurations are deleted.
URL: https://github.com/apache/samza/pull/1007#issuecomment-486012041
 
 
   @prateekm 
   
   Currently to delete a key in coordinator stream, samza produces the message 
(key, value: null) into the coordinator-stream. This was the behavior since 0.9 
version of samza.
   
   Previously upto 0.8 version of samza, to delete a key, we used to serialize 
the null value into the json message and publish it to coordinator stream. 
Here's a sample message taken from the coordinator stream which follows this 
pattern in production. 
   
   ```json
   offset: 314005  LogAppendTime: 1555029967663  key: 
[1,"set-config","random-key"] payload: 
{"host":"random-host","source":"job-runner","values":{"value":null},"username":"random","timestamp":1255429967479}
   ```
   
   To handle this null value serialized as json, we need the changes in this 
patch.

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