From 14bf9dc71a14a6d4a699a77461be283745951973 Mon Sep 17 00:00:00 2001 From: Florent Biville Date: Wed, 2 Jul 2025 11:50:24 +0200 Subject: [PATCH 1/7] docs: document new setting --- modules/ROOT/pages/source/configuration.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/source/configuration.adoc b/modules/ROOT/pages/source/configuration.adoc index d07f866..9b02704 100644 --- a/modules/ROOT/pages/source/configuration.adoc +++ b/modules/ROOT/pages/source/configuration.adoc @@ -146,5 +146,8 @@ Default: `1s` | neo4j.query.timeout | Maximum amount of time query is allowed to run (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`). +| neo4j.query.force-maps-as-struct +| In `COMPACT` mode, this forces the schema encoding of map values to be structs (default: `true`). Setting the value to `false` will only affect the schema encoding of maps with homogeneous value types. Note that the Protobuf converter does not support map message types. + Default: `0s` -|=== \ No newline at end of file +|=== From 848aad9b9aa66c686677fe8537a7c2411960adbb Mon Sep 17 00:00:00 2001 From: Florent Biville Date: Wed, 2 Jul 2025 11:55:26 +0200 Subject: [PATCH 2/7] docs: add changelog entry --- modules/ROOT/pages/changelog.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 18dbb2d..0d6db0f 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -2,6 +2,19 @@ This page lists changes to the {product-name}. +== Version 5.1.13 + +[cols="1,2", options="header"] +|=== +| Feature | Details + +a| +label:bug[] +label:fixed[] + +Introduce `neo4j.query.force-maps-as-struct` +| For the source query strategy in `COMPACT` mode, users can now disable this and encode the schema of maps with homogeneous value types as maps, not structs. +|=== == Version 5.1.12 This is a maintenance release which provides updated dependencies. From f50e5282d1b06cd67e268bfcf8a3c05b765ad0c3 Mon Sep 17 00:00:00 2001 From: Florent Biville Date: Thu, 3 Jul 2025 14:03:09 +0200 Subject: [PATCH 3/7] docs: set new release version --- antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antora.yml b/antora.yml index 248dd01..b73b7e6 100644 --- a/antora.yml +++ b/antora.yml @@ -12,7 +12,7 @@ asciidoc: page-product: Neo4j Connector for Kafka kafka-connect-version: 3.0 connector-version: '5.1' - exact-connector-version: '5.1.12' + exact-connector-version: '5.1.13' page-pagination: true product-name: Neo4j Connector for Kafka url-common-license-page: https://neo4j.com/docs/license/ From 01c14ed95dda967198608e67b84279911886ef6e Mon Sep 17 00:00:00 2001 From: Florent Biville Date: Thu, 3 Jul 2025 14:53:02 +0200 Subject: [PATCH 4/7] fix: description of new setting, which is not tied to compact mode --- modules/ROOT/pages/changelog.adoc | 2 +- modules/ROOT/pages/source/configuration.adoc | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 0d6db0f..fa82440 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -13,7 +13,7 @@ label:bug[] label:fixed[] Introduce `neo4j.query.force-maps-as-struct` -| For the source query strategy in `COMPACT` mode, users can now disable this and encode the schema of maps with homogeneous value types as maps, not structs. +| For the source query strategy, users can now disable this and encode the schema of maps with homogeneous value types as maps, not structs. |=== == Version 5.1.12 diff --git a/modules/ROOT/pages/source/configuration.adoc b/modules/ROOT/pages/source/configuration.adoc index 9b02704..62db16c 100644 --- a/modules/ROOT/pages/source/configuration.adoc +++ b/modules/ROOT/pages/source/configuration.adoc @@ -146,8 +146,11 @@ Default: `1s` | neo4j.query.timeout | Maximum amount of time query is allowed to run (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`). -| neo4j.query.force-maps-as-struct -| In `COMPACT` mode, this forces the schema encoding of map values to be structs (default: `true`). Setting the value to `false` will only affect the schema encoding of maps with homogeneous value types. Note that the Protobuf converter does not support map message types. - Default: `0s` + +| neo4j.query.force-maps-as-struct +| This forces the schema encoding of map values to be structs (default: `true`). +Setting the value to `false` will only affect the schema encoding of maps with homogeneous value types. +Maps with heterogeneous value types will remain encoded as structs. +Note that the Protobuf converter does not support map message types (map message types can happen in the `COMPACT` payload mode and this parameter set to `false`). |=== From 7c55a8d4c92327bf93b269502aff7f451ba68d15 Mon Sep 17 00:00:00 2001 From: Florent Biville <445792+fbiville@users.noreply.github.com> Date: Thu, 3 Jul 2025 17:09:41 +0200 Subject: [PATCH 5/7] Update modules/ROOT/pages/changelog.adoc Co-authored-by: Ali Ince --- modules/ROOT/pages/changelog.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index fa82440..6f4fde8 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -13,7 +13,7 @@ label:bug[] label:fixed[] Introduce `neo4j.query.force-maps-as-struct` -| For the source query strategy, users can now disable this and encode the schema of maps with homogeneous value types as maps, not structs. +| For the source query strategy, users can now control whether maps with homogeneous value types are encoded as structs or maps. |=== == Version 5.1.12 From c7ef05abed21403654afa41f25d93609d5b004c6 Mon Sep 17 00:00:00 2001 From: Florent Biville <445792+fbiville@users.noreply.github.com> Date: Thu, 3 Jul 2025 17:09:52 +0200 Subject: [PATCH 6/7] Update modules/ROOT/pages/source/configuration.adoc Co-authored-by: Ali Ince --- modules/ROOT/pages/source/configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/source/configuration.adoc b/modules/ROOT/pages/source/configuration.adoc index 62db16c..39020bb 100644 --- a/modules/ROOT/pages/source/configuration.adoc +++ b/modules/ROOT/pages/source/configuration.adoc @@ -152,5 +152,5 @@ Default: `0s` | This forces the schema encoding of map values to be structs (default: `true`). Setting the value to `false` will only affect the schema encoding of maps with homogeneous value types. Maps with heterogeneous value types will remain encoded as structs. -Note that the Protobuf converter does not support map message types (map message types can happen in the `COMPACT` payload mode and this parameter set to `false`). +Note that the Protobuf converter does not support map message types (map message types can happen in the `COMPACT` payload mode and when this parameter set to `false`). |=== From 94c4566f8da5f7b57b40997bed5962cc9b7162df Mon Sep 17 00:00:00 2001 From: Florent Biville <445792+fbiville@users.noreply.github.com> Date: Thu, 3 Jul 2025 17:38:00 +0200 Subject: [PATCH 7/7] Update modules/ROOT/pages/source/configuration.adoc Co-authored-by: Nicola Vitucci --- modules/ROOT/pages/source/configuration.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/source/configuration.adoc b/modules/ROOT/pages/source/configuration.adoc index 39020bb..fe91df9 100644 --- a/modules/ROOT/pages/source/configuration.adoc +++ b/modules/ROOT/pages/source/configuration.adoc @@ -152,5 +152,5 @@ Default: `0s` | This forces the schema encoding of map values to be structs (default: `true`). Setting the value to `false` will only affect the schema encoding of maps with homogeneous value types. Maps with heterogeneous value types will remain encoded as structs. -Note that the Protobuf converter does not support map message types (map message types can happen in the `COMPACT` payload mode and when this parameter set to `false`). +Note that the Protobuf converter does not support map message types (map message types can happen in the `COMPACT` payload mode and when this parameter is set to `false`). |===