Kafka - Advanced Stream Processing
What will the serialize method return when called with serialize("topic", "Kafka") in this code?
public byte[] serialize(String topic, String data) {
if (data == null) return null;
return data.getBytes(StandardCharsets.UTF_8);
}