kryo serialization over storm
问题 I need to serialize complex object (opencv:Mat) over apache storm (deployed in remote cluster). Can anyone suggest me a good tutorial custom kryo serialization or propose a solution on how to do this? Thanks in advance! 回答1: I have created a bean public class DataBean{ Mat imageMatrix; int id; public DataBean(){ } public DataBean(int id, Mat matrix) { setId(id); setImageMatrix(matrix); } public int getId() { return id; } public void setId(int id) { this.id = id; } public Mat getImageMatrix()