UnsatisfiedLinkError on Lib rocks DB dll when developing with Kafka Streams

后端 未结 6 1126
夕颜
夕颜 2020-12-18 05:34

I\'m writing a Kafka Streams application on my development Windows machine. If I try to use the leftJoin and branch features of Kafka Streams I get

6条回答
  •  Happy的楠姐
    2020-12-18 06:18

    Recently I came through this problem too. I managed to solve this in two steps:

    1. Delete all librocksdbjni[...].dll files from C:\Users\[your_user]\AppData\Local\Temp folder.
    2. Add maven dependency for rocksdb in your project, this works for me: https://mvnrepository.com/artifact/org.rocksdb/rocksdbjni/5.0.1

    Compile your Kafka Stream App and run it. It should work!

提交回复
热议问题