struct

Crabbit::Broker

Inherits Struct < Value < Object

Broker address returned by RabbitMQ stream metadata.

reference is scoped to a metadata response and should not be persisted.

Constructors

new(reference : UInt16, host : String, port : Int32)
Source

Instance methods

clone
Source
copy_with(reference _reference = @reference, host _host = @host, port _port = @port)
Source
endpoint(tls : Bool = false) : Endpoint

Converts the advertised broker address to an Endpoint.

Source
host
port
reference