tombentley opened a new pull request #9252:
URL: https://github.com/apache/kafka/pull/9252


   This test compares the current working tree version of protocol/message json
   files with the same versions of those files as released in previous versions
   of Kafka (and in git HEAD). As such it can detect when a message format is 
   changed in an incompabile way, for example by adding a field to an existing 
   API version. The verification implements all the rules mentioned in the 
   protocol README.md plus a few others.
   
   The test is factored into an abstract test class, which means it can be used 
in
   other places where message JSON is used. I added a test for Kafka Streams,
   for example.
   
   Because the test works by looking at git tags it wouldn't be robust to 
certain
   refactorings (e.g. changing the directory in which the message JSON files
   reside). It also currently doesn't cope with refactoring field names.
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to