Skip to content

Configuration

data class ChronicleOptions(
val host: String = "localhost",
val port: Int = 35000
)
PropertyDefaultDescription
host"localhost"Hostname or IP address of the Chronicle Kernel
port35000gRPC port of the Chronicle Kernel

ChronicleConnectionString parses a host:port string:

val options = ChronicleOptions.from("chronicle.internal:35000")
val client = ChronicleClient.development()

Equivalent to ChronicleClient(ChronicleOptions(host = "localhost", port = 35000)).

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).

See Namespaces for the full tenancy model. The default namespace is "default". Override it when calling getEventStore:

val store = client.getEventStore("MyApp", namespace = "production")