change KafkaOut implements Serializable interface