There's no easy way to generate a tombstone record using generated schema classes. There should be a simple method called tombstone on the class that will take a value (either a key schema instance or a plain value) which can be turned into a correct value for the producer to produce a nil payload with the given key.
There's no easy way to generate a tombstone record using generated schema classes. There should be a simple method called
tombstone
on the class that will take a value (either a key schema instance or a plain value) which can be turned into a correct value for the producer to produce a nil payload with the given key.