You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Josh J <jo...@gmail.com> on 2015/02/28 17:40:32 UTC

Re: serializable kafka producer pool

Bump... Looking for a Kafka Producer Object pool to use in Spark Streaming
inside foreachPartition

On Wed, Jan 14, 2015 at 8:40 PM, Josh J <jo...@gmail.com> wrote:

> Hi,
>
> Does anyone have a serializable kafka producer pool that uses the
> KafkaProducer.crateProducer() method? I'm trying to use the Spark borrow
> feature to cache the kafka producers.
>
> Thanks,
> Josh
>