io.streamthoughts.jikkou.kafka.internals.DataSerde Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jikkou-provider-kafka Show documentation
Show all versions of jikkou-provider-kafka Show documentation
Integration between Apache Kafka and Jikkou
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) The original authors
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.streamthoughts.jikkou.kafka.internals;
import io.streamthoughts.jikkou.kafka.model.DataHandle;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.Optional;
public interface DataSerde {
Optional serialize(String topicName,
DataHandle data,
Map properties,
boolean isForRecordKey
);
Optional deserialize(String topicName,
ByteBuffer data,
Map properties,
boolean isForRecordKey
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy