arangodb / arangodb-java-driver

The official ArangoDB Java driver.

Repository from Github https://github.comarangodb/arangodb-java-driverRepository from Github https://github.comarangodb/arangodb-java-driver

WAL Support

darkfrog26 opened this issue · comments

I was looking through the docs and there doesn't seem to be any support for the write-ahead log in the Java driver? I'm in the process of migrating my Scarango project (Scala Driver) to being built on top of the Java driver, but I use the WAL for reactive listeners on the database. Is there any way to accomplish this in the Java driver, or do I need to write this functionality from scratch?

Hi,
the WAL driver API is documented, but marked as internal. Hence its not part of regular drivers. Even more so, its implementation may (and soon will) change.

How soon are we talking? Can I get a link to the docs?

Closing since at this stage the topic is unrelated to the Java driver.
Feel free to ask and discuss it the community Slack or ArangoDB github repository.

This is related to the Java driver. If WAL is supported internally I'm simply asking how I might access it.

@darkfrog26
The Java driver does not implement any internal API. Such APIs are intended for use internal to the cluster (or from infrastructure tools).
Also note that you can perform any custom request from the Java driver by invoking: https://github.com/arangodb/arangodb-java-driver/blob/master/src/main/java/com/arangodb/ArangoDB.java#L867-L874

http://arangodb.github.io/arangodb-java-driver/javadoc-6_12/com/arangodb/ArangoDB.html#execute-com.arangodb.velocystream.Request-

That's very helpful, thank you. Can you or @dothebart clarify when the WAL implementation is likely to be changing? It might determine if I should wait to implement this or not.

Cluster-wide CDC (as public API) is on our mid-term roadmap and expected early next year.

@rashtao any updates on this?

Cluster-wide CDC (as public API) should be part of ArangoDB 4.x, although it is unclear a timeline for the release.

@rashtao thanks for the response. Is there a ticket I can follow to monitor the progress?

arangodb/arangodb#602 seems to me the most relevant ticket about this topic.