LavinMQ::Config::Options
Separate module for config option definitions. This keeps the option declarations organized in one place, while config.cr contains the parsing and validation logic. Config class includes this module to inherit all annotated properties.
Constants
DEFAULT_LOG_LEVEL = ::Log::Severity::Info
DEFAULT_PASSWORD_HASH = Auth::Password::SHA256Password.new("+pHuxkR9fCyrrwXjOD4BP4XbzO3l8LJr8YkThMgJ0yVHFRE+")
Instance methods
amqp_bind
Sourceamqp_port
Sourceamqp_systemd_socket_name
Sourceamqps_port
Sourceauth_backends
Sourcebind
Sourcechannel_max
Sourceclustering?
Sourceclustering_advertised_uri
Sourceclustering_bind
Sourceclustering_etcd_endpoints
Sourceclustering_etcd_lease_ttl
Sourceclustering_etcd_prefix
Sourceclustering_on_leader_elected
Sourceclustering_on_leader_lost
Sourceclustering_port
Sourceconfig_file
Sourceconsumer_timeout
Sourceconsumer_timeout_loop_interval
Sourcecontrol_unix_path
Sourcedata_dir
Sourcedata_dir_lock?
Sourcedefault_consistent_hash_algorithm
Sourcedefault_consistent_hash_algorithm=(default_consistent_hash_algorithm : ConsistentHashAlgorithm)
Sourcedefault_consumer_prefetch
Sourcedefault_mqtt_vhost
Sourcedefault_password=(value : LavinMQ::Auth::Password::SHA256Password)
Sourcedefault_password_hash
Sourcedefault_password_hash=(default_password_hash : Auth::Password::SHA256Password)
Sourcedefault_user
Sourcedefault_user_only_loopback?
Sourcedeliver_loop_idle_timeout=(deliver_loop_idle_timeout : Time::Span)
Internal: not exposed as configurable, only used for testing
frame_max
Sourcefree_disk_min
Sourcefree_disk_warn
Sourceheartbeat
Sourcehttp_bind
Sourcehttp_port
Sourcehttp_systemd_socket_name
Sourcehttp_unix_path
Sourcehttps_port
Sourceload_definitions
Sourcelog_exchange?
Sourcelog_file
Sourcelog_level
Sourcelog_level=(log_level : ::Log::Severity)
Sourcemax_consumers_per_channel
Sourcemax_deleted_definitions
Sourcemax_inflight_messages
Sourcemax_message_size
Sourcemetrics_http_bind
Sourcemetrics_http_port
Sourcemqtt_bind
Sourcemqtt_client_id_validation
Sourcemqtt_client_id_validation=(mqtt_client_id_validation : MQTT::ClientIdValidation)
Sourcemqtt_max_packet_size
Sourcemqtt_permission_check_enabled?
Sourcemqtt_port
Sourcemqtt_unix_path
Sourcemqtts_port
Sourceoauth_additional_scopes_keys
Sourceoauth_audience
Sourceoauth_client_id
Sourceoauth_issuer_url
Sourceoauth_jwks_cache_ttl
Sourceoauth_jwks_cache_ttl=(oauth_jwks_cache_ttl : Time::Span)
Sourceoauth_mgmt_base_url
Sourceoauth_mgmt_scopes
Sourceoauth_preferred_username_claims
Sourceoauth_resource_server_id
Sourceoauth_scope_prefix
Sourceoauth_verify_aud?
Sourcepidfile
Sourceproxy_protocol_trusted_sources
Sourceraise_gc_warn?
Sourcesegment_size
Sourceset_timestamp?
Sourcesocket_buffer_size
Sourcestats_interval
Sourcestats_log_size
Sourcesync?
Sourcesyncfs_threshold
Syncing each file costs a device flush, while syncfs also writes out every other dirty page on the filesystem (e.g. ack files)
syncfs_threshold=(syncfs_threshold : Int32)
Syncing each file costs a device flush, while syncfs also writes out every other dirty page on the filesystem (e.g. ack files)
tcp_keepalive
Sourcetcp_nodelay?
Sourcetcp_proxy_protocol?
Sourcetcp_recv_buffer_size
Sourcetcp_send_buffer_size
Sourcetcp_send_timeout=(tcp_send_timeout : Int32)
A client that doesn't read for this long is disconnected
tls_cert_path
Sourcetls_ciphers
Sourcetls_ciphersuites
Sourcetls_key_path
Sourcetls_keylog_file
Sourcetls_ktls?
Sourcetls_min_version
Sourcetls_prefer_server_ciphers?
Sourceunix_path
Sourceyield_each_delivered_bytes
Sourceyield_each_received_bytes
Source