Class JsonArraySerializer

java.lang.Object
io.quarkus.kafka.client.serialization.JsonArraySerializer
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.serialization.Serializer<io.vertx.core.json.JsonArray>

public class JsonArraySerializer extends Object implements org.apache.kafka.common.serialization.Serializer<io.vertx.core.json.JsonArray>
Kafka serializer for raw bytes in a buffer
  • Constructor Details

    • JsonArraySerializer

      public JsonArraySerializer()
  • Method Details

    • serialize

      public byte[] serialize(String topic, io.vertx.core.json.JsonArray data)
      Specified by:
      serialize in interface org.apache.kafka.common.serialization.Serializer<io.vertx.core.json.JsonArray>