kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mina Aslani <aslanim...@gmail.com>
Subject AVRO Schema with optional field ("type": "record")
Date Fri, 19 Oct 2018 19:43:57 GMT

I am adding AVRO schema to the kafka messages, however, I would like to
know how I can make a field of "type": "record" optional.
*Note*: "default":null does not help.

Any idea? Can you elaborate the solution/workaround with an example please?

Best regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message