Discovery

class Discovery(val hostname: String, val clusterName: String = "caplin", val name: String, val logDirectory: Path?, val localLabel: String = "-", val extraConfig: String? = null) : SimpleDataSourceConfig(source)

Configuration for a DataSource that connects to a discovery service.

Constructors

Link copied to clipboard
constructor(hostname: String, clusterName: String = "caplin", name: String, logDirectory: Path?, localLabel: String = "-", extraConfig: String? = null)

Properties

Link copied to clipboard

The cluster name to join.

Link copied to clipboard
open override val extraConfig: String? = null

Any extra configuration to append to the configuration string.

Link copied to clipboard

The hostname of the discovery service.

Link copied to clipboard
open override val localLabel: String

The local label for the DataSource.

Link copied to clipboard
open override val logDirectory: Path?

The directory where log files will be written.

Link copied to clipboard
open override val name: String

The name of the DataSource.

Functions

Link copied to clipboard
open override fun toString(): String