Skip to content

Commit

Permalink
Mention message ordering behaviour (#20)
Browse files Browse the repository at this point in the history
* Mention message ordering behaviour

* Update sink.adoc
  • Loading branch information
ali-ince authored Oct 11, 2023
1 parent 135faac commit 7cfb915
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/ROOT/pages/kafka-connect/sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ We'll define the Sink configuration in several ways:

== Sink ingestion strategies

[NOTE]
====
**The Cypher Template strategy is the only Sink strategy that guarantees messages to be processed in the same order as they arrive in a topic.**
Other Sink strategies group messages together by type of operation, which can also be optimised into batches.
In this case, the execution order is the following:
. All `MERGE` operations on nodes
. All `DELETE` operations on nodes
. All `MERGE` operations on relationships
. All `DELETE` operations on relationships
====

[#kafka-connect-cypher-strategy]
include::partial$kafka-connect-cypher-strategy.adoc[]

Expand Down

0 comments on commit 7cfb915

Please sign in to comment.