<!-- Generated from the rendered page by scripts/write-llm-mirrors.mjs. Do not edit by hand. -->
Canonical: https://molo17.com/solutions/neo4j-cdc/
Markdown mirror: https://molo17.com/solutions/neo4j-cdc/index.md
Title: Neo4j CDC and real-time graph replication | Gluesync
Description: Neo4j CDC through native db.cdc on Enterprise 5.13+ and Aura. Replicate nodes and relationships to warehouses, databases, and streams. Start a trial.

[Solutions](/solutions/)  Neo4j CDC

 SOLUTION · NEO4J CDC

# Neo4j change data capture and real-time graph replication

**Changes to nodes and relationships, read from the native change data capture of Neo4j and delivered continuously, with no triggers, no APOC, and no plugin on the server.**

Gluesync by MOLO17 captures changes from Neo4j through a dedicated agent, available from Gluesync 2.3.3.0, that reads the native `db.cdc` procedures of Neo4j Enterprise Edition 5.13 and later, Aura Business Critical, and Virtual Dedicated Cloud. Snapshots work on every edition, Community included. The same agent can also write to Neo4j as a target, and changes are delivered to the databases, warehouses, lakes, and event streams your teams already run. Manage every pipeline from the Core Hub web UI, the Gluesync control plane.

[Start a Gluesync trial](/get-gluesync/) [Talk to us](/contacts/)

WHO THIS IS FOR

## Neo4j teams moving graph data into the rest of the estate

-   Graph platform owners who need nodes and relationships in a warehouse, a relational database, or an event stream, without exporting the graph on a timer
-   DBAs who want to see exactly which privileges and database options the agent needs (`txLogEnrichment`, the `db.cdc` grants, log retention) before they approve a source connection
-   Data platform leads who feed analytics from Neo4j and want one control plane for sources and targets, backed by [best-in-class enterprise support, rated 4.9/5 by customers](/support/#customer-ratings)
-   Architects replacing Cypher export scripts, APOC triggers, or scheduled dumps with change capture that resumes where it stopped

THE PROBLEM

## Graph data that only leaves Neo4j in exports goes stale

Scheduled Cypher exports and dumps leave downstream systems working from a copy that is already behind, and they read the whole graph to find what changed. Teams looking for Neo4j CDC usually weigh Kafka-based connectors, triggers or procedures inside the database, or scripts their own team keeps running. Each has a place, and each leaves a different set of operations with your team.

Gluesync addresses that pattern with **per-agent CDC**. The Neo4j agent reads the native change data capture of the server, the source agent sends changes through Core Hub, and target agents write to the destination you choose. The same pipeline model, snapshots, and Core Hub controls apply whichever target you pick.

HOW IT WORKS

## How Gluesync does Neo4j CDC

### Native change data capture, nothing added to the database

The agent connects 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. As a source it reads the `db.cdc` procedures, which return the changes of the transaction log with their before and after states. It creates no triggers, no APOC procedures, and no objects of its own in your database.

-   **Commit order:** changes are sent in commit order, and the changes of one Neo4j transaction reach the target as one transaction.
-   **Resumable position:** Core Hub keeps the position of each entity, so after a restart reading resumes where it stopped. Changes can be read twice after a crash, never lost.
-   **Snapshot then CDC:** a change committed while a snapshot runs is read by CDC afterwards, because the snapshot starts from the position that was current when it began.

### Nodes and relationships as entities

A Neo4j database holds nodes and relationships, not tables, so Gluesync maps them to entities. A node entity is a node label, such as `Person`. A relationship entity is a relationship type, such as `[:KNOWS]`: its rows carry the properties of the relationship and the key properties of the two nodes it connects, in `_start_` and `_end_` columns.

-   **Keys, not element ids:** nodes and relationships are identified by the properties of a key constraint, never by the internal `elementId`, which Neo4j reuses.
-   **Label changes:** a node that gains the label of an entity joins it as an insert, and a node that loses the label leaves it as a delete.
-   **Removed properties:** a property removed in Neo4j arrives as `NULL`, so the target clears the column.

### Snapshots on every edition

Snapshots run on Community, Enterprise, and Aura. A node entity with a key is read in pages ordered by the key and resumes after a restart; relationships are read as one stream with the key properties of their end nodes. On Community Edition, which has no change data capture, a source runs snapshot-only entities.

### What your Neo4j admin sets up

The agent checks the CDC requirements during setup and stops at the first that fails, with a message that names the statement that fixes it. Ask your MOLO17 contact for the full setup guide.

1.  Run Neo4j Enterprise Edition 5.13 to 5.26 LTS or a 2025.x or 2026.x calendar release, or Aura Business Critical or Virtual Dedicated Cloud, for change data capture.
2.  Set `txLogEnrichment` to `FULL` on the database, so the transaction log records complete before and after states.
3.  Create a Gluesync role and user that may call the `db.cdc` procedures, read the data, and list constraints and indexes.
4.  Keep enough transaction log retention (`db.tx_log.rotation.retention_policy`) to cover the longest pipeline downtime you want to survive.
5.  Give every entity a key: a `NODE KEY` or uniqueness constraint on node labels, and node keys on the labels at both ends of a CDC relationship entity.
6.  Allow Core Hub to reach the Bolt port, 7687 by default. For Aura, use the `neo4j+s://` connection URI of your instance.

[Explore the general CDC streaming architecture →](/solutions/cdc-streaming/)

CAPTURE OPTIONS

## The Neo4j source agent

Neo4j has one Gluesync agent for both roles. As a source it snapshots on every edition and captures changes through `db.cdc` where the server offers it.

| Agent | Capture technique | Versions | Best for |
| --- | --- | --- | --- |
| Neo4j agent | Native change data capture through the `db.cdc` procedures, with snapshots of node labels and relationship types | CDC on Neo4j Enterprise 5.13 to 5.26 LTS and 2025.x and 2026.x, Aura Business Critical and Virtual Dedicated Cloud; snapshots on every edition. Available from Gluesync 2.3.3.0 | Neo4j estates that need graph changes in a warehouse, a relational or NoSQL database, or an event stream, where the DBA can set `txLogEnrichment` to `FULL`. |

TARGETS AND TOPOLOGIES

## Deliver Neo4j changes to the systems you already run

The [integrations directory](/integrations/?source=Neo4j#integration-finder) lists each pairing. Neo4j can be a source and a target, so a graph can also be fed from relational tables: see [Replicate to Neo4j](/solutions/replicate-to-neo4j/).

[MOLO17 Professional Services](/solutions/professional-services/) can help map labels and relationship types to the entities your targets need.

Target agents write in optimized batches, never row by row, and switch to native bulk load for both snapshots and CDC on targets such as [Snowflake](/solutions/replicate-to-snowflake/), [Databricks](/solutions/replicate-to-databricks/), [Google BigQuery](/solutions/replicate-to-bigquery/), [Amazon Redshift](/solutions/replicate-to-redshift/), [Microsoft SQL Server](/solutions/replicate-to-sql-server/), and [PostgreSQL](/solutions/replicate-to-postgresql/).

-   Feed graph changes to a cloud warehouse, data lake, or object store: see [warehouse sync](/solutions/warehouse-sync/)
-   Publish node and relationship changes to Apache Kafka or another event stream for downstream services: see [CDC streaming](/solutions/cdc-streaming/)
-   Replicate Neo4j to another Neo4j database, with idempotent `MERGE` writes on the target
-   Offload read traffic from Neo4j to a relational or NoSQL store: see [database offload](/solutions/database-offload/)

FAIR, HIGH-LEVEL COMPARISON

## Where Gluesync fits among Neo4j CDC approaches

| Approach | What buyers usually get | Where Gluesync fits |
| --- | --- | --- |
| Kafka Connect with a Neo4j source connector | Change events published to Kafka topics; you run Kafka, Connect workers, offsets, sink connectors, and upgrades | A productized Neo4j agent with Core Hub operations and no Connect cluster required, while Kafka stays available as a target; read the [Debezium alternative](/solutions/debezium-alternative/) comparison |
| Triggers and procedures inside the database | Logic that runs in the database on every write; you maintain the procedures and the extra load they add | No triggers, no APOC, and no objects in your database: the agent reads the transaction log through `db.cdc` |
| Scheduled Cypher exports and dumps | Simple to start; each run reads the graph again, and downstream copies are as old as the last export | A snapshot once, then continuous change capture that resumes from its position; read [batch ETL vs real-time data replication](/blog/batch-etl-vs-real-time-data-replication/) |
| ETL and ELT services | Broad connector catalogs with scheduled syncs; graph sources and change capture vary by product | Native Neo4j change data capture and one control plane for sources and targets; see [migrating to Gluesync](/migrate-to-gluesync/) |

RELATED CONTENT

## Neo4j CDC research and implementation detail

-   [Replicate to Neo4j](/solutions/replicate-to-neo4j/)
-   [Log-based CDC explained](/blog/real-time-replication-log-based-cdc/)
-   [CDC streaming to Kafka and event platforms](/solutions/cdc-streaming/)

FAQ

## Neo4j CDC questions

How does Gluesync capture changes from Neo4j?

The Neo4j agent reads the native change data capture of Neo4j through the db.cdc procedures, which return the changes of the transaction log with their before and after states. It creates no triggers, no APOC procedures and no objects in your database.

Is the Neo4j agent generally available?

The Neo4j agent is generally available from Gluesync 2.3.3.0.

Do I need Neo4j Enterprise?

Only for change data capture, which needs Enterprise Edition 5.13 or later, Aura Business Critical or Virtual Dedicated Cloud. 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.

What database settings does CDC need?

txLogEnrichment set to FULL on the database, a user that may call the db.cdc procedures, and enough transaction log retention to cover pipeline downtime. The agent checks these during setup and names the statement that fixes a missing one.

How are nodes and relationships identified?

By the properties of a key constraint, never by the internal elementId. Relationship rows carry the key properties of their start and end nodes, and CDC of relationships needs node keys on the labels at both ends.

What happens if the transaction log is pruned while a pipeline is stopped?

The entity stops with a CDC Position Lost error instead of skipping changes. Snapshot the entity again to resume from a new position.

CDC BY SOURCE DATABASE

## Other sources Gluesync captures from

-    [Cosmos DB CDC](/solutions/cosmos-db-cdc/)
-    [Couchbase CDC](/solutions/couchbase-cdc/)
-    [CouchDB CDC](/solutions/couchdb-cdc/)
-    [Db2 LUW CDC](/solutions/db2-luw-cdc/)
-    [DynamoDB CDC](/solutions/dynamodb-cdc/)
-    [IBM i CDC](/solutions/ibm-i-cdc/)
-    [Informix CDC](/solutions/informix-cdc/)
-    [MariaDB CDC](/solutions/mariadb-cdc/)
-    [MongoDB CDC](/solutions/mongodb-cdc/)
-    [MySQL CDC](/solutions/mysql-cdc/)
-    [Oracle CDC](/solutions/oracle-cdc/)
-    [PostgreSQL CDC](/solutions/postgresql-cdc/)
-    [SAP ASE (Sybase) CDC](/solutions/sap-ase-cdc/)
-    [SAP HANA CDC](/solutions/sap-hana-cdc/)
-    [SAP SQL Anywhere CDC](/solutions/sap-sql-anywhere-cdc/)
-    [ScyllaDB CDC](/solutions/scylladb-cdc/)
-    [SQL Server CDC](/solutions/sql-server-cdc/)
-    [Vertica CDC](/solutions/vertica-cdc/)
-    [YugabyteDB CDC](/solutions/yugabytedb-cdc/)

## Evaluate Gluesync with your Neo4j database

Start a trial on your infrastructure, or talk to MOLO17 about your graph, the labels and relationship types you need downstream, and the targets they should reach.

[Start a Gluesync trial](/get-gluesync/) [Talk to MOLO17](/contacts/)
