-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathneo4j-source-configuration.properties
More file actions
36 lines (35 loc) · 4 KB
/
neo4j-source-configuration.properties
File metadata and controls
36 lines (35 loc) · 4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
neo4j.source-strategy=Type: Enum<QUERY, CDC>;\nDescription: Source strategy for this connector.
neo4j.batch-size=Type: Integer;\nDescription: Maximum number of change events to publish for each poll cycle.
neo4j.start-from=Type: Enum<EARLIEST, NOW, USER_PROVIDED>;\nDescription: A time anchor to start streaming from.
neo4j.start-from.value=Type: String|Long;\nDescription: Custom value to use as a starting offset. \
Used once during the initial run of the connector, and will be ignored if there is an offset stored in Kafka Connect.
neo4j.ignore-stored-offset=Type: Boolean;\nDescription: Whether to ignore any offset value retrieved from the offset storage saved by a previous run.
neo4j.query=Type: String;\nDescription: Cypher query to use for gathering changes. \
Requires both `neo4j.query.streaming-property` to be in the result set, and `$lastCheck` query parameter used for tracking changes.
neo4j.query.streaming-property=Type: String;\nDescription: Property name that is both present in the result set of the specified query \
and used as a filter to query changes from a previous value.
neo4j.query.poll-duration=Type: String;\nDescription: Maximum amount of time Kafka Connect poll request will wait for a change to be received from the database (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`).
neo4j.query.poll-interval=Type: String;\nDescription: Interval in which the query is executed during `neo4j.query.poll-duration` timespan (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`).
neo4j.query.topic=Type: String;\nDescription: Kafka topic to publish change events gathered through provided query.
neo4j.query.force-maps-as-struct=Type: Boolean;\nDescription: Whether the schema of maps with homogeneous value types is encoded as struct or map (default is: `true`). \
Not all converters support map schemas.
neo4j.query.timeout=Type: Duration;\nDescription: Maximum amount of time query is allowed to run (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`).
neo4j.cdc.use-leader=Type: Boolean;\nDescription: Whether to use leader for change data capture queries. If `true`, the connector will use leader, otherwise will prefer a read replica if available. Default is `false`.
neo4j.cdc.poll-duration=Type: Duration;\nDescription: Maximum amount of time Kafka Connect poll request will wait for a change to be received from the database (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`).
neo4j.cdc.poll-interval=Type: Duration;\nDescription: The interval in which the database will be polled for changes (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`).
neo4j.payload-mode=Type: Enum<COMPACT, EXTENDED, RAW_JSON_STRING>;\nDescription: Defines the structure of change messages generated. `COMPACT` produces messages which are simpler but with potential schema compatibility and type safety issues, while `EXTENDED` produces messages with extra type information which removes the limitations of `COMPACT` mode. For example, a property type change will lead to schema compatibility failures in `COMPACT` mode. `RAW_JSON_STRING` mode generates messages which are serialized as raw JSON strings. Default is `EXTENDED`.
neo4j.cdc.metric.last-tx-id.enabled=Type: Boolean;\nDescription: Whether to enable the `last_db_tx_id` metric.
neo4j.cdc.metric.last-tx-id.refresh-interval=Type: Duration;\nDescription: Interval between metric updates (valid units are: `ms`, `s`, `m`, `h` and `d`; default unit is `s`). Default value is 30 seconds.