public class JsonArraySerializer extends Object implements org.apache.kafka.common.serialization.Serializer<JsonArray>
Constructor and Description |
---|
JsonArraySerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs,
boolean isKey) |
byte[] |
serialize(String topic,
JsonArray data) |
public void configure(Map<String,?> configs, boolean isKey)
configure
in interface org.apache.kafka.common.serialization.Serializer<JsonArray>
public byte[] serialize(String topic, JsonArray data)
serialize
in interface org.apache.kafka.common.serialization.Serializer<JsonArray>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.kafka.common.serialization.Serializer<JsonArray>
Copyright © 2024 Eclipse. All rights reserved.