emqx_bridge_pulsar {
config_connector.desc:
"""Pulsar connector config"""
config_connector.label:
"""Pulsar Connector"""
connector_resource_opts.desc:
"""Pulsar connector resource options"""
connector_resource_opts.label:
"""Resource Options"""
auth_basic.desc:
"""Parameters for basic authentication."""
auth_basic.label:
"""Basic auth params"""
auth_basic_password.desc:
"""Basic authentication password."""
auth_basic_password.label:
"""Password"""
auth_basic_username.desc:
"""Basic authentication username."""
auth_basic_username.label:
"""Username"""
auth_token.desc:
"""Parameters for token authentication."""
auth_token.label:
"""Token auth params"""
auth_token_jwt.desc:
"""JWT authentication token."""
auth_token_jwt.label:
"""JWT"""
authentication.desc:
"""Authentication configs."""
authentication.label:
"""Authentication"""
buffer_memory_overload_protection.desc:
"""Applicable when buffer mode is set to memory
EMQX will drop old buffered messages under high memory pressure.
The high memory threshold is defined in config sysmon.os.sysmem_high_watermark
.
NOTE: This config only works on Linux."""
buffer_memory_overload_protection.label:
"""Memory Overload Protection"""
buffer_mode.desc:
"""Message buffer mode.
memory
: Buffer all messages in memory. The messages will be lost
in case of EMQX node restart\ndisk
: Buffer all messages on disk.
The messages on disk are able to survive EMQX node restart.
hybrid
: Buffer message in memory first, when up to certain limit
(see segment_bytes
config for more information), then start offloading
messages to disk, Like memory
mode, the messages will be lost in
case of EMQX node restart."""
buffer_mode.label:
"""Buffer Mode"""
buffer_per_partition_limit.desc:
"""Number of bytes allowed to buffer for each Pulsar partition.
When this limit is exceeded, old messages will be dropped in a trade for credits
for new messages to be buffered."""
buffer_per_partition_limit.label:
"""Per-partition Buffer Limit"""
desc_name.desc:
"""Action name, a human-readable identifier."""
desc_name.label:
"""Action Name"""
buffer_segment_bytes.desc:
"""Applicable when buffer mode is set to disk
or hybrid
.
This value is to specify the size of each on-disk buffer file."""
buffer_segment_bytes.label:
"""Segment File Bytes"""
config_enable.desc:
"""Enable (true) or disable (false) this Pulsar bridge."""
config_enable.label:
"""Enable or Disable"""
connect_timeout.desc:
"""Maximum wait time for TCP connection establishment (including authentication time if enabled)."""
connect_timeout.label:
"""Connect Timeout"""
desc_name.desc:
"""Bridge name, used as a human-readable description of the bridge."""
desc_name.label:
"""Bridge Name"""
desc_type.desc:
"""The Bridge Type"""
desc_type.label:
"""Bridge Type"""
producer_batch_size.desc:
"""Maximum number of individual requests to batch in a Pulsar message."""
producer_batch_size.label:
"""Batch size"""
producer_buffer.desc:
"""Configure producer message buffer."
Tell Pulsar producer how to buffer messages when EMQX has more messages to"
send than Pulsar can keep up, or when Pulsar is down."""
producer_buffer.label:
"""Message Buffer"""
producer_compression.desc:
"""Compression method."""
producer_compression.label:
"""Compression"""
producer_local_topic.desc:
"""MQTT topic or topic filter as data source (bridge input)
If rule action is used as data source, this config should be left empty,
otherwise messages will be duplicated in Pulsar."""
producer_local_topic.label:
"""Source MQTT Topic"""
producer_max_batch_bytes.desc:
"""Maximum bytes to collect in a Pulsar message batch. Most of the Pulsar brokers
default to a limit of 5 MB batch size. EMQX's default value is less than 5 MB in
order to compensate Pulsar message encoding overheads (especially when each individual
message is very small). When a single message is over the limit, it is still
sent (as a single element batch)."""
producer_max_batch_bytes.label:
"""Max Batch Bytes"""
producer_pulsar_topic.desc:
"""Pulsar topic name"""
producer_pulsar_topic.label:
"""Pulsar topic name"""
producer_retention_period.desc:
"""The amount of time messages will be buffered while there is no connection to
the Pulsar broker. Longer times mean that more memory/disk will be used"""
producer_retention_period.label:
"""Retention Period"""
producer_send_buffer.desc:
"""Fine tune the socket send buffer. The default value is tuned for high throughput."""
producer_send_buffer.label:
"""Socket Send Buffer Size"""
producer_strategy.desc:
"""Partition strategy is to tell the producer how to dispatch messages to Pulsar partitions.
random
: Randomly pick a partition for each message.
roundrobin
: Pick each available producer in turn for each message.
key_dispatch
: Hash Pulsar message key of the first message in a batch
to a partition number."""
producer_strategy.label:
"""Partition Strategy"""
pulsar_producer_struct.desc:
"""Configuration for a Pulsar bridge."""
pulsar_producer_struct.label:
"""Pulsar Bridge Configuration"""
servers.desc:
"""A comma separated list of Pulsar URLs in the form scheme://host[:port]
for the client to connect to. The supported schemes are pulsar://
(default)
and pulsar+ssl://
. The default port is 6650."""
servers.label:
"""Servers"""
}