Package org.mockserver.async.serde
package org.mockserver.async.serde
-
ClassesClassDescriptionConverts message payloads between JSON text and Avro binary using Apache Avro's
GenericDatumreader/writer — no code generation and no Confluent serde stack required.Encoder/decoder for the Confluent Schema Registry wire format used by Kafka Avro/Protobuf messages.The result of decoding a wire-format message: the embedded schema id and the remaining serialized payload bytes.A minimal client for the Confluent Schema Registry REST API — just the two operations MockServer needs, implemented over the JDK'sHttpClientso no Confluent Community License artifacts are pulled in:SchemaRegistryClient.getSchemaById(int)—GET /schemas/ids/{id}, used on the consume/verify path to resolve the schema embedded in a Confluent wire-format message.SchemaRegistryClient.register(String, String)—POST /subjects/{subject}/versions, used on the publish path to obtain the schema id to frame messages with.