My immediate thought is observe the YAGNI principle and only create it if and
when you need it. Otherwise, you run the risk of requiring non-interchangeable
re-identification if you need required, non-default, fields when the need
materializes.
On December 13, 2019, at 9:25 AM, roger peppe wr
name it MyRecord2, or whatever. This is what I meant by “reidentify”.
On Fri, Dec 13, 2019 at 12:46 PM roger peppe wrote:
>
>
> On Fri, 13 Dec 2019 at 15:02, Vance Duncan wrote:
>
>> My immediate thought is observe the YAGNI principle and only create it if
>> and when you
PM roger peppe wrote:
>
>
> On Fri, 13 Dec 2019 at 23:08, Vance Duncan wrote:
>
>> Sorry about that. I was assuming some kind of name-based schema registry
>> lookup. Assume you are looking up schemas by name using a schema registry.
>> Let’s say the record is name
14 Dec 2019 at 04:58, Vance Duncan wrote:
>
>> Because you will forever be limited to adding nullable fields to that
>> record. It will forever be a weak contract. That may be OK, depending on
>> the situation. You just won’t be able to enforce semantics through the
>>
compatible event, you'd add a CloudEvent
>alias to your record.
>
> None of the options are particularly nice. 1 is probably the easiest to
> do, although means you'd still need some custom logic when decoding
> records, meaning you couldn't use stock decoders.
>
s. Btw. I
>> favored this variant(ie. no ID in name/namespace) because in this setup,
>> after I introduce new schema version, I do not have to change imports in
>> whole project, but just one line in pom.xml saying which directory should
>> be compiled into java files.
>>
>> so what could be the suggestion to correct naming-versioning scheme?
>> thanks,
>> M.
>>
>
--
Regards,
Vance Duncan
mailto:dunca...@gmail.com
http://www.linkedin.com/in/VanceDuncan
(904) 553-5582
es
> that make use of Apache Avro? I'm trying to collect a small list for
> research purposes and my search is not yielding many results apart from
> Facebook.
>
> Thanks in advance,
>
> --
> Juan Cruz Viotti
> Software Engineer
> https://www.jviotti.com
>
--
R