At this moment, the encoder is called from a single thread per producer
instance.
Thanks,
Jun
On Thu, Oct 23, 2014 at 8:20 PM, Rajiv Kurian wrote:
> Are encoders only ever called from a single thread?
>
> I have a stateful utility class that I use to encode my objects. Is it safe
> to only cre
Are encoders only ever called from a single thread?
I have a stateful utility class that I use to encode my objects. Is it safe
to only create a single instance? Something like this:
MyObjectEncoder
public class MyObjectEncoder implements Encoder {
private final MyObjectEncoderHelper helper