brimdata / zync

Kafka connector to sync Zed lakes to and from Kafka topics
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

limit Avro schema subject length #41

Closed nwt closed 2 years ago

nwt commented 2 years ago

Using an Avro schema's JSON encoding as its subject can produce very long subjects, which can provoke an HTTP "414 URI Too Long" response from the schema registry because subjects appear in some request paths. Avoid this problem by using a hash of the corresponding ZNG type string as a schema's subject.