kafka/clients
Jason Gustafson b94c7f479b
MINOR: Add ignorable field check to `toStruct` and fix usage (#7710)
If a field is not marked as ignorable, we should raise an exception if it has been set to a non-default value. This check already exists in `Message.write`, so this patch adds it to `Message.toStruct`. Additionally, we fix several fields which should have been marked ignorable and we fix some related test assertions.

Reviewers: Ismael Juma <ismael@juma.me.uk>, Manikumar Reddy <manikumar.reddy@gmail.com>, Colin Patrick McCabe <cmccabe@apache.org>
2019-11-22 22:05:03 -08:00
..
src MINOR: Add ignorable field check to `toStruct` and fix usage (#7710) 2019-11-22 22:05:03 -08:00
.gitignore