ServerConfig

com.worxbend.cobalt.ServerConfig
See theServerConfig companion object
final case class ServerConfig(host: String, port: Int)

Where the operational HTTP surface binds.

cobalt serves no business endpoints (ADR §1): this listener exists only for /metrics and the two health probes, so it is configured separately from everything that touches Kafka — a platform team owns the port, the service team owns the stream.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product