Yes, it will work. We do this at LinkedIn, actually.

-Jay

On Thu, Feb 14, 2013 at 12:15 PM, Jamie Wang <jamie.w...@actuate.com> wrote:
> I have a situation where we have constraint on the number of processes we can 
> use and hence, is it possible to load kafka server within another Java 
> process? Looking at the kafka.kafka it seems that I can create a Java object 
> that does most of what Kafka.kafka.main() do.  Any thoughts if this will 
> work? What are some of the things I need to watch out? And is there another 
> better way to do this?  Thank you for your time.
>
> Jamie

Reply via email to