Re: Configuring TTL in edges and vertices of graph

Jason Plurad <plu...@...>

It doesn't look like you committed the management transaction with mgmt.commit()

On Wednesday, August 23, 2017 at 8:56:43 AM UTC-4, Abhay Tibrewal wrote:
I was able to set TTL for vertices and edges, but even after the time has passed, the vertex did not got removed from the Db. My storage backend is Cassandra. So do we have to configure anything for Cassandra to activate TTL through janusgraph.

I used the following code :-

graph ='conf/
mgmt = graph.openManagement()
tweet = mgmt.makeVertexLabel('tweet').setStatic().make()
mgmt.setTTL(tweet, Duration.ofMinutes(2))

Join to automatically receive all group messages.