load_amqp Loads a byte stream via AMQP messages.
load_amqp [url : str, channel = int, exchange = str, routing_key = str, queue = str,
options = record, passive = bool, durable = bool, exclusive = bool,
no_auto_delete = bool, no_local = bool, ack = bool]
Description The load_amqp
operator is an AMQP 0-9-1 client that
enables interacting with an AMQP server, as a consumer .
The diagram below shows the key abstractions and how they relate to a pipeline:
eyJ2ZXJzaW9uIjoiMSIsImVuY29kaW5nIjoiYnN0cmluZyIsImNvbXByZXNzZWQiOnRydWUsImVuY29kZWQiOiJ4nO1da1fiSrP+Pr/C5f66ye77ZT5cdTAwMWRvqIx3XHUwMDEwxXPe5YpcdTAwMTAucoeg4l77v59qXHUwMDFjTCBcdFx1MDAwNFxiXHUwMDBls19mZo1cdTAwMTKSTiddT9VT1dXVf3/b2dl1h1x1MDAxZGf3+86u81a0XHUwMDFitVLPft3901x1MDAxY39xev1au1x1MDAwNV+R0ed+e9Arjs6sum6n//2vv+xOx/Kusort5seVTsNpOi23XHUwMDBm5/4vfN7Z+Xv0P3xTK5nr3fyRyFFX9lqVeuHi6KZ4jnlldOnopHGHek7RtVuVhuN99WZ6gz4/XHUwMDBl4WOKXGLvwGut5FbhoPadVHVqlapcdTAwMGJcdTAwMDdcdTAwMTnzXHUwMDBlfrT7fcc70nd77bpz0G60e+bmf2DH/PVu/WRcdTAwMTfrlV570Cp9nuP27Fa/Y/fgWb3zyrVGI+tcdTAwMGVHrcM7g3ezO3WPu5+dxFPHo66Cm1aqLaffn7im3bGLNde8XHUwMDAxjLynMD3snJZGr/4/Xp96dtM5Ne++NWg0/Fxyt0o/XHUwMDFinvii7zjmZExcdTAwMDThSlxiX/ueUGDFpo9etFsjXHUwMDAxwUxIRbXS4vOMWv9cdTAwMTCkwlx1MDAxZDVbtlx1MDAxYn3He6+mXHUwMDEzR9NcdTAwMTLjl5pcdKFwnTfvZftkqlN+ss/dvSE5Piw893FcdTAwMTfrXHUwMDAznd79PO+fn79572TQKdlcdTAwMWb9wUJcdTAwMGKGqJCUXHTv/TZq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TXHUwMDE51JVwOZ5U+P1wXHUwMDE56PlcIri8qZ3jwUuv0bi9LJ40btLy/ihtx8ElXHUwMDE32Fx1MDAxMthsmsGI5IxMXHUwMDE3YaHEXHUwMDAy0GKzX6tJYfZNpW9xub5lgEQzzVhoeWLJor1cdTAwMTJcdTAwMGVfYiA3a1hcdTAwMDOyXHUwMDA15nLAvCr032rpS1LsvGR6efX+rlx1MDAwYtlWXHUwMDFjYE5vXHUwMDFmXHUwMDE1UnVcdTAwMDC8s0SZaoyp9X878kz2XCJTUoTmJ/PogIDZQ1x1MDAxMMaCJW9cdTAwMTLBXGZrtNRcdTAwMDZ7Y+SBqPdcdTAwMDfN35GqXHUwMDA2er5cYvJcdTAwMWVcdTAwMWKXqdd9kc3dMUrfWnldzGXSsfxHMIncbFx1MDAwM0MwXHUwMDE1ZHpXdF+W4SdcdTAwMGUp9ERrrIipRbF6Ze8tXHUwMDBldyiiZnv40DRsrlwi07BcdTAwMTmjWvONrNjZ6bVLg+LviMJAz1x1MDAxN5skiFxurypcdTAwMTTp+Fx1MDAxM1x1MDAwNIRcdTAwMTMtsEHkRab+dHpTcLvtq+ezu3ShOuxccodcdTAwMTHA2JjoqtnK2VTQJsRELv1S/Vx1MDAxMV01i6uRYJLDr1x1MDAwNE/3K6Ft86hcdTAwMTW2lXRoeFx1MDAxNSGztZ9OYO/I3ye+aje7Vqlm5rm+OrJcdTAwMWF250Viqt9+Tsbs2p1O1oWXuDvOs9t9qTmv+6FCYv6YqZxcdTAwMTGWXHJsXHUwMDFjM1wif//z7Z//XHUwMDA3IKOBYSJ9AMQP Server ... AMQP Saver amqp://user:pass@127.0.0.1:5672/vhost AMQP Loader Exchange Pipeline Queue Queue routing-key: foo Message routing-key: bar Message Binding Binding consume produce amq.direct
The implementation of this connector relies on the RabbitMQ C client
library .
url: str (optional)
A URL that specifies the AMQP server. The URL must have the following format:
amqp://[USERNAME[:PASSWORD]@]HOSTNAME[:PORT]/[VHOST]
When the URL is present, it will overwrite the corresponding values of the
configuration options.
channel = int (optional)
The channel number to use.
Defaults to 1
.
exchange = str (optional)
The exchange to interact with.
Defaults to "amq.direct"
.
routing_key = str (optional)
For the loader, the name of the routing key to bind a queue to an exchange. For the saver, the routing key to publish messages with.
Defaults to the empty string.
options = record (optional)
A comma-separated list of key-value configuration options for RabbitMQ, e.g.,
{ max_channels: 42, frame_size: 1024, sasl_method: "external" }
. The example
amqp.yaml
file below shows the available options:
hostname : 127.0.0.1 port : 5672 ssl : false vhost : / max_channels : 2047 frame_size : 131072 heartbeat : 0 sasl_method : plain username : guest password : guest
We recommend factoring the environment-specific options into the configuration
file so that they are not cluttering the pipeline definition.
queue = str (optional)
The name of the queue to declare and then bind to.
Defaults to the empty string, resulting in auto-generated queue names, such as
"amq.gen-XNTLF0FwabIn9FFKKtQHzg"
.
passive = bool (optional)
If true
, the server will reply with OK if an exchange already exists with the
same name, and raise an error otherwise.
Defaults to false
.
durable = bool (optional)
If true
when creating a new exchange, the exchange will be marked as durable.
Durable exchanges remain active when a server restarts. Non-durable exchanges
(transient exchanges) are purged if/when a server restarts.
Defaults to false
.
exclusive = bool (optional)
If true
, marks the queue as exclusive. Exclusive queues may only be accessed by
the current connection, and are deleted when that connection closes. Passive
declaration of an exclusive queue by other connections are not allowed.
Defaults to false
.
no_auto_delete = bool (optional)
If true
, the exchange will not be deleted when all queues have finished using
it.
Defaults to false
.
no_local = bool (optional)
If true
, the server will not send messages to the connection that published them.
Defaults to false
.
ack = bool (optional)
If true
, the server expects acknowledgements for messages. Otherwise, when a
message is delivered to the client the server assumes the delivery will succeed
and immediately dequeues it. This functionality may decrease performance at
and improve reliability. Without this flag, messages can get lost if a client
dies before they are delivered to the application.
Defaults to false
.
Examples Consume JSON from a specific AMQP server:
load_amqp "amqp://admin:pass@0.0.0.1:5672/vhost"
read_json