Configuration
ChronicleOptions
Section titled “ChronicleOptions”data class ChronicleOptions( val host: String = "localhost", val port: Int = 35000)| Property | Default | Description |
|---|---|---|
host | "localhost" | Hostname or IP address of the Chronicle Kernel |
port | 35000 | gRPC port of the Chronicle Kernel |
Connection string format
Section titled “Connection string format”ChronicleConnectionString parses a host:port string:
val options = ChronicleOptions.from("chronicle.internal:35000")Development shortcut
Section titled “Development shortcut”val client = ChronicleClient.development()Equivalent to ChronicleClient(ChronicleOptions(host = "localhost", port = 35000)).
TLS and authentication
Section titled “TLS and authentication”The current release does not support TLS or authentication at the client level. These concerns are handled at the infrastructure layer (service mesh, network policy, or load balancer termination).
Namespace
Section titled “Namespace”See Namespaces for the full tenancy model.
The default namespace is "default". Override it when calling
getEventStore:
val store = client.getEventStore("MyApp", namespace = "production")