Synadia Connect

Redis PubSub

NAMERUNTIMETYPEVERSION
redis_pubsubwombatsinklatest

Publishes messages through the Redis PubSub model. It is not possible to guarantee that messages have been received.

Configuration

NameTypeOptionalSecretDescription
urlstringnonoThe URL of the target Redis server. Database is optional and is supplied as the URL path.
kindstringyesnoSpecifies a simple, cluster-aware, or failover-aware redis client. The value should be one of simple, cluster or failover. The value defaults to "simple".
masterstringyesnoName of the redis master when kind is failover. The value defaults to "".
tlstlsnonoCustom TLS settings can be used to override system defaults.
channelstringnonoThe channel to publish messages to.
max_in_flightintyesnoThe maximum number of messages to have in flight at a given time. Increase this to improve throughput. The value defaults to 64.
batchingbatchingnonoAllows you to configure a batching policy.

TLS Configuration

NameTypeOptionalSecretDescription
enabledboolyesnoWhether custom TLS settings are enabled. The value defaults to false.
skip_cert_verifyboolyesnoWhether to skip server side certificate verification. The value defaults to false.
enable_renegotiationboolyesnoWhether to allow the remote server to repeatedly request renegotiation.
Enable this option if you're seeing the error message local error: tls: no renegotiation. The value defaults to false.
root_casstringyesyesAn optional root certificate authority to use.
This is a string, representing a certificate chain from the parent trusted root certificate,
to possible intermediate signing certificates, to the host certificate. The value defaults to "".
client_certs[]client_certsyesnoA list of client certificates to use. . The value defaults to [].

Batching

NameTypeOptionalSecretDescription
countintyesnoA number of messages at which the batch should be flushed. If 0 disables count based batching. The value defaults to 0.
byte_sizeintyesnoAn amount of bytes at which the batch should be flushed. If 0 disables size based batching. The value defaults to 0.
periodstringyesnoA period in which an incomplete batch should be flushed regardless of its size. The value defaults to "".
checkstringyesnoA Bloblang query that should return a boolean value indicating whether a message should end a batch. The value defaults to "".
Previous
Redis List