Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Encoder/Decoder exceptions


+
Adam Talaat 2013-02-22, 01:04
Copy link to this message
-
Re: Encoder/Decoder exceptions
Encoder/Decoder expects non-null return values. So, you should throw
exceptions instead.

Thanks,

Jun

On Thu, Feb 21, 2013 at 5:04 PM, Adam Talaat <[EMAIL PROTECTED]> wrote:

> Are there any caveats to returning null from an Encoder or Decoder? I'm
> planning on doing this if there is a problem de/serializing a message,
> rather than throwing an exception.
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB