All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.camel.test.kafka.subA.SimpleKafkaSerializer Maven / Gradle / Ivy

There is a newer version: 12.0.0
Show newest version
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