kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Tschetter <eched...@gmail.com>
Subject Re: Embedding a broker into a producer?
Date Tue, 03 Apr 2012 17:17:40 GMT
Ok, I can do that (that's actually how our current stuff works as
well), I was just hoping to maybe remove the need to tell my producer
to connect to localhost so that it can talk to some other part of the
code running in the same process.

Do you think you will ever have a Producer object implemented in terms
of a KafkaServer object?  Or, if that were to exist would you be
willing to take on the maintenance of it as part of the public API?


On Tue, Apr 3, 2012 at 8:04 AM, Jun Rao <junrao@gmail.com> wrote:
> Eric,
> Try using the Producer api. Internal apis are subject to change in the
> future and are not officially supported.
> Thanks,
> Jun
> On Mon, Apr 2, 2012 at 6:05 PM, Eric Tschetter <echeddar@gmail.com> wrote:
>> I'm setting up an HTTP endpoint that just takes a posted object and
>> shoves it into Kafka.  I'm imagining this as basically an embedded
>> broker in my producer and am wondering if there's a way to emit
>> messages directly into the broker without actually setting up a
>> Producer object?  Or, is it just going to be simpler and more
>> supported for me if I actually set up the separate objects and have
>> them talk via whatever mechanism they end up talking via?
>> --Eric

View raw message