You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Valentin Forst <va...@aseno.de> on 2017/10/06 13:39:38 UTC

Kafka Streams with embedded RocksDB

Hi there,

We have Kafka 0.11.0.0 running to DC/OS. So, I am developing on windows (it's not my fault ;-)) and have to ship to a Linux-Container (DC/OS) in order to run a java-app.

What is the best way to use Kafka-streams maven dependency w.r.t. RocksDB in order to work on both OSs?
Currently I am getting the following error:

UnsatisfiedLinkError … Can’t find dependency library. Trying to find rocksdbjni,…dll

Thanks in advance
Valentin

Re: Kafka Streams with embedded RocksDB

Posted by Sachin Mittal <sj...@gmail.com>.
I have checked rocksdbjni-5.0.1.jar included in kafka_2.12-0.11.0.0.tgz and
librocksdbjni dll is included.
I don't think you have to build anything extra fir windows OS.



On Sat, Oct 7, 2017 at 11:39 PM, Valentin Forst <va...@aseno.de> wrote:

> Hi Ted,
>
> Thank you for your reply...
> Yes, I have read the Info on the link, however I do not understand the
> intention of it..
>
> So, I am using Kafka on a Container-Platform (DC/OS) , so I  cannot
> restrict my Kafka-Clients to a certain OS and need them to run on a JVM.
> I do not want to compile and provide libs for every single OS my colleague
> may want to use.
>
> It seems that this issue appears in the last version of Kafka 0.11.0.0 +
> 0.11.0.1 again?
>
> As soon as someone is using kaka-streams + Store (e.g Tables), the problem
> is going to appear .
>
> I would appreciate any help!
>
> Kind regards
> Valentin
>
> > Am 06.10.2017 um 18:30 schrieb Ted Yu <yu...@gmail.com>:
> >
> > I assume you have read
> > https://github.com/facebook/rocksdb/wiki/Building-on-Windows
> >
> > Please also see https://github.com/facebook/rocksdb/issues/2531
> >
> > BTW your question should be directed to rocksdb forum.
> >
> >
> >
> > On Fri, Oct 6, 2017 at 6:39 AM, Valentin Forst <va...@aseno.de>
> wrote:
> >
> >> Hi there,
> >>
> >> We have Kafka 0.11.0.0 running to DC/OS. So, I am developing on windows
> >> (it's not my fault ;-)) and have to ship to a Linux-Container (DC/OS) in
> >> order to run a java-app.
> >>
> >> What is the best way to use Kafka-streams maven dependency w.r.t.
> RocksDB
> >> in order to work on both OSs?
> >> Currently I am getting the following error:
> >>
> >> UnsatisfiedLinkError … Can’t find dependency library. Trying to find
> >> rocksdbjni,…dll
> >>
> >> Thanks in advance
> >> Valentin
>
>

Re: Kafka Streams with embedded RocksDB

Posted by Valentin Forst <va...@aseno.de>.
Hi Ted,

Thank you for your reply... 
Yes, I have read the Info on the link, however I do not understand the intention of it..

So, I am using Kafka on a Container-Platform (DC/OS) , so I  cannot restrict my Kafka-Clients to a certain OS and need them to run on a JVM.
I do not want to compile and provide libs for every single OS my colleague may want to use.

It seems that this issue appears in the last version of Kafka 0.11.0.0 + 0.11.0.1 again? 

As soon as someone is using kaka-streams + Store (e.g Tables), the problem is going to appear . 

I would appreciate any help!

Kind regards
Valentin

> Am 06.10.2017 um 18:30 schrieb Ted Yu <yu...@gmail.com>:
> 
> I assume you have read
> https://github.com/facebook/rocksdb/wiki/Building-on-Windows
> 
> Please also see https://github.com/facebook/rocksdb/issues/2531
> 
> BTW your question should be directed to rocksdb forum.
> 
> 
> 
> On Fri, Oct 6, 2017 at 6:39 AM, Valentin Forst <va...@aseno.de> wrote:
> 
>> Hi there,
>> 
>> We have Kafka 0.11.0.0 running to DC/OS. So, I am developing on windows
>> (it's not my fault ;-)) and have to ship to a Linux-Container (DC/OS) in
>> order to run a java-app.
>> 
>> What is the best way to use Kafka-streams maven dependency w.r.t. RocksDB
>> in order to work on both OSs?
>> Currently I am getting the following error:
>> 
>> UnsatisfiedLinkError … Can’t find dependency library. Trying to find
>> rocksdbjni,…dll
>> 
>> Thanks in advance
>> Valentin


Re: Kafka Streams with embedded RocksDB

Posted by Sachin Mittal <sj...@gmail.com>.
Well as far as I remember this was an old issue with 0.10.0.x or something.
In 0.10.2.x librocksdbjni dll is part of rocksdbjni-5.0.1.jar so there is
no need to build separately for windows.

Did something got changed in 0.11.x ?

Thanks
Sachin


On Fri, Oct 6, 2017 at 10:00 PM, Ted Yu <yu...@gmail.com> wrote:

> I assume you have read
> https://github.com/facebook/rocksdb/wiki/Building-on-Windows
>
> Please also see https://github.com/facebook/rocksdb/issues/2531
>
> BTW your question should be directed to rocksdb forum.
>
>
>
> On Fri, Oct 6, 2017 at 6:39 AM, Valentin Forst <va...@aseno.de> wrote:
>
> > Hi there,
> >
> > We have Kafka 0.11.0.0 running to DC/OS. So, I am developing on windows
> > (it's not my fault ;-)) and have to ship to a Linux-Container (DC/OS) in
> > order to run a java-app.
> >
> > What is the best way to use Kafka-streams maven dependency w.r.t. RocksDB
> > in order to work on both OSs?
> > Currently I am getting the following error:
> >
> > UnsatisfiedLinkError … Can’t find dependency library. Trying to find
> > rocksdbjni,…dll
> >
> > Thanks in advance
> > Valentin
>

Re: Kafka Streams with embedded RocksDB

Posted by Ted Yu <yu...@gmail.com>.
I assume you have read
https://github.com/facebook/rocksdb/wiki/Building-on-Windows

Please also see https://github.com/facebook/rocksdb/issues/2531

BTW your question should be directed to rocksdb forum.



On Fri, Oct 6, 2017 at 6:39 AM, Valentin Forst <va...@aseno.de> wrote:

> Hi there,
>
> We have Kafka 0.11.0.0 running to DC/OS. So, I am developing on windows
> (it's not my fault ;-)) and have to ship to a Linux-Container (DC/OS) in
> order to run a java-app.
>
> What is the best way to use Kafka-streams maven dependency w.r.t. RocksDB
> in order to work on both OSs?
> Currently I am getting the following error:
>
> UnsatisfiedLinkError … Can’t find dependency library. Trying to find
> rocksdbjni,…dll
>
> Thanks in advance
> Valentin