Questions tagged [rocksdb-java]
45 questions
0
votes
0 answers
How can I configure all RocksDB instances of a Kafka streams application share the same config?
I have a Kafka streams application, where each instance handles ~30 partitions and has 1 state store (resulting in a total of 30 RocksDB instances). Assuming the application can scale in/out, the total number of RocksDB instances can change. I'd…

omer
- 1,242
- 4
- 18
- 45
0
votes
1 answer
How to use Rocksdb merge in Java?
The documentation is not clear about how to use the merge operation while using rocksdb-jni, and I am not familiar with C++ API, how could I define an merge operator?
user9959339
0
votes
1 answer
can I backing up rocksdb while putting?
I want to back up rocksdb while not blocking my writing calls, the status I expected is rocksdb should back up the data at that moment and ignoring the writing calls while backing up, is there a proper way to accomplish this?
I tested this in java…
user9959339
0
votes
1 answer
Is there a way to get Strong Consistency with RocksDb in Java?
I have a program which accesses a single RocksDB using multiple threads.
Our workflow for a given document is to read the cache, do some work, then update the cache.
My code uses chained CompletableFutures to process multiple documents in order (and…

Mark
- 2,058
- 2
- 35
- 64
0
votes
1 answer
Optimal RocksDB configuration for use as secondary "cache"
I am looking at using RocksDB (from Java in my case) as a secondary "cache" behind a RAM based first level cache. I do not expect any items in RocksDB to be dramatically more commonly accessed than others (all the really frequently used items will…

Tristpost
- 19
- 4
0
votes
1 answer
Rocks DB read instances not reflecting data from write instance
I have a rockDB write instance which writes data to "/rocksDB/data" . I have read instances which are also pointing to "/rocksDB/data" but they are unable to read data which is being written by write instance. If i restart the read instances , they…

jayanta layak
- 11
- 4
0
votes
1 answer
Is there a way to retrieve `ColumnFamilyHandle` from `ColumnFamilyName` in RocksDb?
Alternatively, is there a way to get all the currently open ColumnFamilyHandles from a db?
I am aware of the static function RocksDB.listColumnFamilies. But this returns a List List containing the column family names. Not sure if there is a…

ash_prakasan
- 31
- 3
0
votes
1 answer
Sorting by key in rocksdb
I'm trying to compare in java a huge amount of data with 2 folders entry folder1 and folder2.
Each folder contains several files of around 10 MBytes size each. I have about 100 files in each folder.
Each file contains a key,value line something like…

cknelle
- 131
- 1
- 12
0
votes
1 answer
RocksDb Java API support for Transactions
Does RocksJavaAPI have the support for transactions? I see that there is a Transaction DB class present in the JAR. I am not able to do a begin transaction on transaction Db class.
RocksDB db = TransactionDB.open(options,…

jagannathan rajagopalan
- 424
- 5
- 22
0
votes
1 answer
Kafka KeyValueStore - delete method is not working
I am trying to schedule a task in one of my Kafka processors to delete records from a local KeyValueStore (RocksDB). Even though no exception has appeared so far, none of the records are getting deleted. Here is my code:
…

iliev951
- 33
- 4
0
votes
1 answer
RocksDBException: does not exist
Exception:
org.rocksdb.RocksDBException: /vdt/derived: does not exist (create_if_missing is false)
at org.rocksdb.RocksDB.open(Native Method)
at org.rocksdb.RocksDB.open(RocksDB.java:290)
Files (.sst) are present at location…

amitwdh
- 661
- 2
- 9
- 19
0
votes
1 answer
Kafka Streams API: Session Window exception
I am trying to create a Kafka topology and break it down into more readable. I have a stream that I group by keys, and then I am trying to window it like so:
SessionWindowedKStream windowedTable =
…

QuirkyBit
- 654
- 7
- 20
0
votes
0 answers
Is there a retention policy for custom state store (RocksDb) with Kafka streams?
I am setting up a new Kafka streams application, and want to use custom state store using RocksDb. This is working fine for putting data in state store and getting a queryable state store from it and iterating over the data, However, after about 72…
0
votes
1 answer
How do you write column data in rocksDB in java?
How do you write data in column format in rocksdb.
Example of columns can be Id, state, URL, fieldNames, query;
I should be able to read all data giving Id.

user3634446
- 133
- 1
- 10
-1
votes
1 answer
Will rocksDB support nested keys for one value?
I am new to RocksDB. I am testing it on java spring boot(dependency: org.rocksdb.rocksdbjni). Will it support on storing nested keys for one value and retrieve a value using nested keys.
Example:
In Java, I am using the following data structure.…

Praveen
- 1