Obtain bookmark in TransactionEventHandler


I am writing a kernel extension to perform actions in before and after commit phases. I have followed instructions here.

I would like to get the latest bookmark available in causal cluster in after commit phase. Is it possible ?


Bookmark is the client concept and used by drivers for transaction chaining.

What is the need for the bookmark in the after commit phase?

See feature description here : Add lastBookmark method in org.neo4j.graphdb.event.TransactionData · Issue #12680 · neo4j/neo4j · GitHub

Does it make sense ?