Search docs.molo17.com

    Neo4j Agent for Gluesync: Features Overview

    Neo4j logo

    Core principles

    This agent connects to Neo4j over the Bolt protocol with the official Neo4j Java driver, which is part of Gluesync: there is nothing to install on Core Hub and no plugin to add to the server (the agent does not use APOC).

    A Neo4j database holds nodes and relationships, not tables. Gluesync maps them to entities:

    • A node entity is a node label, such as Person. A node that carries several labels belongs to the entity of each of them;

    • A relationship entity is a relationship type, shown as [:KNOWS] when you browse the database. Its rows carry the properties of the relationship and the key properties of the two nodes it connects, in start<property> and end<property> columns.

    Nodes and relationships are identified by the properties of a key constraint, never by the internal elementId, which is not stable across restores and which Neo4j reuses.

    Change data capture

    As a source, the agent reads the native change data capture of Neo4j: the db.cdc.* procedures, which return the changes of the transaction log with their before and after states. The agent creates no triggers, no APOC procedures and no objects of its own in your database. Core Hub keeps the position of each entity, so after a restart the reading resumes where it stopped.

    Change data capture needs Neo4j Enterprise Edition (or Aura Business Critical or Virtual Dedicated Cloud) and a database set to log full states. Without it, the source still replicates by snapshot. See Source prerequisites.

    Writing to Neo4j

    As a target, the agent writes with UNWIND …​ MERGE statements in batches, so every write is idempotent: an insert onto a node that exists updates it, and a batch that is replayed ends in the same graph. Missing constraints are created for you (node keys on Enterprise Edition, uniqueness constraints on Community), and a bulk path loads a snapshot into an empty label with CREATE. See Writing to Neo4j.

    Supported versions and editions

    Gluesync works with Neo4j 5.13 to 5.26 LTS, and with the calendar releases (2025.x and 2026.x). Both 5.26 LTS and the calendar releases are verified, on Neo4j 5.26.32 and on 2026.10.0.

    Edition Snapshot CDC Target

    Community

    ✅

    ❌

    ✅

    Enterprise 5.13 and later

    ✅

    ✅

    ✅

    Aura Business Critical and Virtual Dedicated Cloud

    ✅

    ✅

    ✅

    Community has no change data capture: a Community source runs snapshot-only entities. An entity that asks for CDC on a Community server fails its prerequisite check with a message that names the edition.

    Requirements

    • Network access from Core Hub to the Bolt port of the server (default 7687);

    • A Neo4j user with the privileges that the role of the agent needs. See Create the Gluesync user and Target prerequisites;

    • For CDC, Enterprise Edition (or Aura Business Critical, Virtual Dedicated Cloud), txLogEnrichment set to FULL on the database and enough transaction log retention.

    Platform supported features

    Feature Support Notes

    Target role

    ✅

    Upserts and deletes nodes and relationships with batched MERGE statements, with an optional bulk path.

    Source role

    ✅

    Reads nodes by label and relationships by type.

    Snapshots

    ✅

    On every edition. A node entity with a key is read in pages ordered by the key and resumes after a restart.

    CDC

    ✅

    Enterprise and Aura Business Critical or Virtual Dedicated Cloud only. See Change data capture.

    CDC type

    Native change data capture (db.cdc.*)

    Reads the transaction log of the database. No triggers or tables are created.

    User defined data types

    N/A

    Neo4j has a fixed set of property types. See Source data types and Target data types.

    Bulk load

    ✅

    A snapshot into an empty label is written with CREATE, and CDC batches are merged in large chunks. See Bulk operations.

    Database pooling

    ✅

    The driver keeps a pool of connections, sized by Max connections count.

    Source persisted internal cache

    N/A

    The agent reads the transaction log of Neo4j itself, and the position of each entity lives in Core Hub.

    Target persisted internal cache

    N/A

    Writes go straight to Neo4j.

    Driver / connector

    Neo4j Java driver (Bolt)

    Built in. The shaded neo4j-java-driver-all artifact, so it does not clash with the libraries of Core Hub.

    Chains

    N/A

    Not supported.

    Truncate operation support (reading)

    ❌

    Neo4j has no truncate: removing nodes arrives as one delete for each node.

    Truncate operation support (writing)

    ✅

    Honors the Core Hub “TRUNCATE before snapshot” option: it deletes every node of the label, or every relationship of the type, in batches.

    Query Studio

    ❌

    Not available on this agent.

    Q&A

    Do I need Neo4j Enterprise? Only for change data capture. Snapshots and the target work on every edition, Community included.

    Does the agent work with Neo4j Aura? Yes. Use the neo4j+s:// connection URI of your instance. Change data capture needs Aura Business Critical or Virtual Dedicated Cloud. See Connection.

    Which properties identify a node? The properties of a NODE KEY or uniqueness constraint on its label, or the key columns you mark on the entity. See Entities: nodes and relationships.

    Do I get the data loaded with neo4j-admin import or a restored backup? Not through change data capture: an offline import or a restore does not produce change events, and a restore invalidates the position of the entities. Snapshot the entities again. See Known behaviour.

    Can I replicate a relational database into a graph? Yes. Use a node entity for each table you want as nodes, and a relationship entity with the start and end key mappings for the tables that link them. See Writing relationships.