implement of kafka codec with kryo , it's usefull when read msg form kafka to twitter/storm