Neo4j source connector

Description

Read data from Neo4j.

neo4j-java-driver version 4.4.9

Key features

Options

name type required default value
uri String Yes -
username String No -
password String No -
bearer_token String No -
kerberos_ticket String No -
database String Yes -
query String Yes -
schema Object Yes -
max_transaction_retry_time Long No 30
max_connection_timeout Long No 30

uri [string]

The URI of the Neo4j database. Refer to a case: neo4j://localhost:7687

username [string]

username of the Neo4j

password [string]

password of the Neo4j. required if username is provided

bearer_token [string]

base64 encoded bearer token of the Neo4j. for Auth.

kerberos_ticket [string]

base64 encoded kerberos ticket of the Neo4j. for Auth.

database [string]

database name.

query [string]

Query statement.

schema.fields [string]

returned fields of query

see column projection

max_transaction_retry_time [long]

maximum transaction retry time(seconds). transaction fail if exceeded

max_connection_timeout [long]

The maximum amount of time to wait for a TCP connection to be established (seconds)

Example

  1. source {
  2. Neo4j {
  3. uri = "neo4j://localhost:7687"
  4. username = "neo4j"
  5. password = "1234"
  6. database = "neo4j"
  7. max_transaction_retry_time = 1
  8. max_connection_timeout = 1
  9. query = "MATCH (a:Person) RETURN a.name, a.age"
  10. schema {
  11. fields {
  12. a.age=INT
  13. a.name=STRING
  14. }
  15. }
  16. }
  17. }

Changelog

next version

  • Add Neo4j Source Connector