public interface SchemaMessageSerializer<T> extends Closeable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
void |
configure(Map<String,?> configs,
boolean isKey) |
org.apache.kafka.common.serialization.Serializer |
getKeySerializer() |
SchemaRegistryClient |
getSchemaRegistryClient() |
byte[] |
serialize(String subject,
String topic,
boolean isKey,
org.apache.kafka.common.header.Headers headers,
T object,
ParsedSchema schema) |
byte[] |
serializeKey(String topic,
org.apache.kafka.common.header.Headers headers,
Object payload) |
org.apache.kafka.common.serialization.Serializer getKeySerializer()
byte[] serializeKey(String topic, org.apache.kafka.common.header.Headers headers, Object payload)
byte[] serialize(String subject, String topic, boolean isKey, org.apache.kafka.common.header.Headers headers, T object, ParsedSchema schema)
SchemaRegistryClient getSchemaRegistryClient()
default void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2025 Confluent, Inc.. All rights reserved.