Not really. If you use a String key, you will have to use a StringEncoder for the key serializer. The key serializer turns any key into a byte array.
Thanks, Neha On Sat, Oct 19, 2013 at 11:02 AM, Yu, Libo <libo...@citi.com> wrote: > Hi team, > > For the message type in KeyedMessage, I can use String or byte[]. > Is there any difference in terms of the actual data transferred? > > > > Regards, > > Libo > >