org.wildfly.camel.test.kafka.subA.SimpleKafkaSerializer Maven / Gradle / Ivy
package org.wildfly.camel.test.kafka.subA;
import java.util.Map;
import org.apache.kafka.common.serialization.Serializer;
public class SimpleKafkaSerializer implements Serializer {
@Override
public void configure(Map configs, boolean isKey) {
}
@Override
public byte[] serialize(String topic, String data) {
return data.getBytes();
}
@Override
public void close() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy