The RabbitMQ output in ArcGIS Velocity allows you to send messages to an externally accessible RabbitMQ broker. A message is sent to RabbitMQ to each output feature sent to the output.
Example
Ниже приводится пример использования выходных данных:
An analyst configures a real-time analytic to process and analyze events ingested by a feed and sends the resulting features to a RabbitMQ broker.
Usage note
При работе с выходными данными нужно учитывать следующее:
The following output data formats are supported:
- GeoJSON
- EsriJSON
- Delimited
- JSON
- XML
Parameters
Ниже приведены параметры выходных данных:
| Parameter | Description | Data type |
|---|---|---|
| Host | The host name of the RabbitMQ broker. | Строка |
| Port | The port on which the RabbitMQ broker is available. | Integer |
| Use SSL | Specifies if SSL is used in the connection. | Boolean |
| Virtual host (optional) | The virtual host of the RabbitMQ broker. | |
| Username (optional) | The username for the RabbitMQ broker. Примечание:This parameter is necessary if the RabbitMQ queue specified is secured. | Строка |
| Password (optional) | The password for the RabbitMQ broker. Примечание:This parameter is necessary if the RabbitMQ queue specified is secured. | Пароль |
| Exchange name (optional) | The exchange name the RabbitMQ output is connected to. The output can connect to either an exchange or a queue. If both are specified, the exchange is used. | Строка |
| Exchange type | Specifies the RabbitMQ AMQP exchange type. Choose one of the following options:
| Строка |
| Declare the exchange | Specifies if the exchange is declared. A declared exchange refers to creating and defining an exchange that routes messages to queues based on specific rules. Choose one of the following options:
The default is False. | Boolean |
| Exchange durability | Specifies if the exchange remains after a restart. | Boolean |
| Routing key (optional) | A comma-separated list of keys or topics used to bind a queue to the direct or topic exchange. | Строка |
| Queue name (optional) | Specifies the queue to which the RabbitMQ output is connected. The output can connect to either an exchange or a queue. If both are specified, the exchange is used. | Строка |
| Declare the queue | Specifies if the queue is declared. Choose one of the following options:
The default is False. | Boolean |
| Queue durability | Specifies if the queue remains after a restart. | Boolean |
| Queue auto-delete | Specifies if the server deletes the queue when no longer in use. | Boolean |
| Queue exclusive | Specifies if the queue is restricted to this connection. | Boolean |
| Output data format | The format for outgoing messages. The following are the supported output data formats:
| Строка |
Write header row | Specifies whether the files write out the header row with field names. The default is false. | Boolean |
Field delimiter | The field delimiter used by the file to separate fields. The default is comma (,). | Строка |