Json – Processing a Kafka message using KSQL that has a field that can be either an ARRAY or a STRUCT
I'm consuming a Kafka topic published by another team (so I have very limited influence over the message format). The message has a field that holds an ARRAY of STRUCTS (an array of objects), but if the array has only…