- Command Line
-
On the command line, you can supply a JSON/EDN configuration file using
-f <file>
. - Java
-
For a Java in-process node, the modules are configured using the supplied Configurator, a file, or a classpath resource:
link:example$test/xtdb/docs/examples/configuration/ConfigurationTest.java[role=include] link:example$test/xtdb/docs/examples/configuration/ConfigurationTest.java[role=include] link:example$test/xtdb/docs/examples/configuration/ConfigurationTest.java[role=include] link:example$test/xtdb/docs/examples/configuration/ConfigurationTest.java[role=include]
- Kotlin
-
For a Kotlin in-process node, the modules are configured using the supplied Configurator, a file, or a classpath resource:
link:example$test/xtdb/docs/examples/configuration/KConfigurationTest.kt[role=include] link:example$test/xtdb/docs/examples/configuration/KConfigurationTest.kt[role=include] link:example$test/xtdb/docs/examples/configuration/KConfigurationTest.kt[role=include] link:example$test/xtdb/docs/examples/configuration/KConfigurationTest.kt[role=include]
- Clojure
-
For a Clojure in-process node, the
start-node
function accepts a module tree, a file, or a resource.link:example$test/xtdb/docs/examples/configuration/configuration_test.clj[role=include] link:example$test/xtdb/docs/examples/configuration/configuration_test.clj[role=include] link:example$test/xtdb/docs/examples/configuration/configuration_test.clj[role=include] link:example$test/xtdb/docs/examples/configuration/configuration_test.clj[role=include]