RocksDB

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RocksDB

Timothy Victor
Can the RocksDB state backend used by Flink be queries from outside, e.g. via SQL?

Or maybe a better question, is there a RocksDB SinkFunction that exists?

Thanks

Tim
Reply | Threaded
Open this post in threaded view
|

Re: RocksDB

Aljoscha Krettek
On 10.03.20 11:36, Timothy Victor wrote:
> Can the RocksDB state backend used by Flink be queries from outside, e.g.
> via SQL?

That's not possible, but you might be interested in queryable state:
https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/state/queryable_state.html

> Or maybe a better question, is there a RocksDB SinkFunction that exists?n

I'm afraid that doesn't exist, and it probably never will because
usually RocksDB is not a distributed system so writing to it from a
parallel stream processing application would most likely not work well.

Best,
Aljoscha
Reply | Threaded
Open this post in threaded view
|

Re: RocksDB

David Anderson-2
The State Processor API goes a bit in the direction you asking about, by making it possible to query savepoints.


Regards,
David


On Tue, Mar 10, 2020 at 1:05 PM Aljoscha Krettek <[hidden email]> wrote:
On 10.03.20 11:36, Timothy Victor wrote:
> Can the RocksDB state backend used by Flink be queries from outside, e.g.
> via SQL?

That's not possible, but you might be interested in queryable state:
https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/state/queryable_state.html

> Or maybe a better question, is there a RocksDB SinkFunction that exists?n

I'm afraid that doesn't exist, and it probably never will because
usually RocksDB is not a distributed system so writing to it from a
parallel stream processing application would most likely not work well.

Best,
Aljoscha