Re:Publishing with Apache Kafka at The New York Times
by annnnd on Thursday September 07, 2017 @02:31AM
(#15189543)
I think parent was answering the usage of XML in this use case, which is not appropriate. XML has many strengths (as you have outlined), but it has also been (mis/ab)used so many times that it gained bad reputation. What my GGP suggests is an example of such. There is nothing to gain from XML here that any proper DB (with schema) wouldn't offer, or in this case, protobuf.
Kafka logs however are solving a different problem. The mental model is different - they do not record state, but the whole history of transactions, which makes it trivial to change the schema if/when need arises. Saying that the schema should be thought in advance and shouldn't change is not realistic IMHO.
Re:Publishing with Apache Kafka at The New York Times
by wolfgang42 on Thursday September 07, 2017 @10:46AM
(#15192296)
> trying to go figure out which magic incantation I need to get it to handle a multi-line string the way I'm expecting.
Shameless plug: https://yaml-multiline.info is a little website I wrote to help with exactly this. I'd love to hear what other people think of it!
Meanwhile, I'm just sitting over here wondering whether my YAML file is supposed to have certain indents here or not, "-" or not, and trying to go figure out which magic incantation I need to get it to handle a multi-line string the way I'm expecting.