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/ diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index 18dbb2d..6f4fde8 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, users can now control whether maps with homogeneous value types are encoded as structs or maps. +|=== == Version 5.1.12 This is a maintenance release which provides updated dependencies. diff --git a/modules/ROOT/pages/source/configuration.adoc b/modules/ROOT/pages/source/configuration.adoc index d07f866..fe91df9 100644 --- a/modules/ROOT/pages/source/configuration.adoc +++ b/modules/ROOT/pages/source/configuration.adoc @@ -147,4 +147,10 @@ Default: `1s` | Maximum amount of time query is allowed to run (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`). Default: `0s` -|=== \ No newline at end of file + +| 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 when this parameter is set to `false`). +|===