Kafka

The Kafka output in ArcGIS Velocity can be used to send output features to a topic in an externally accessible Kafka broker. A Kafka message is sent for each output feature sent to the output.

Learn more about Apache Kafka

Examples

Ниже приведены примеры использования для выходных данных:

  • An analyst configures a real-time analytic to process and analyze events ingested by a feed and sends the resulting features to a Kafka topic.
  • A financial analyst sends real-time stock trade updates to a Kafka topic, allowing instant data access.

Usage note

При работе с выходными данными нужно учитывать следующее:

The following output data formats are available:

  • Delimited
  • JSON
  • GeoJSON
  • EsriJSON

Parameters

Ниже приведены параметры выходных данных:

ParameterDescriptionData type
Brokers

A comma-delimited list of Kafka brokers, specified as server:port—for example, machine1.domain.com:9092,machine2.domain.com:9092,machine3.domain.com:9092.

Строка

Topic

The Kafka topic the output sends messages to.

Строка

Authentication

Specifies the type of authentication to access the HTTP endpoint. The following are the authentication options:

  • None
  • SASL/PLAIN
  • SASL/SCRAM-SHA-256
  • SASL/SCRAM-SHA-512

Строка

Use SSL

Specifies whether Velocity uses SSL (SASL_SSL) in attempting to connect to the Kafka broker.

Примечание:

This should match the configuration the broker has on a specified port. If you this turn parameter off, Velocity connects with PLAINTEXT.

Boolean

Username

Specifies the username for accessing the Kafka broker.

This parameter only applies when Authentication is set to SASL/PLAIN, SASL/SCRAM-SHA-256, or SASL/SCRAM-SHA-512.

Строка

Password

Specifies the password for accessing the Kafka broker.

This parameter only applies when Authentication is set to SASL/PLAIN, SASL/SCRAM-SHA-256, or SASL/SCRAM-SHA-512.

Строка

Output format name

The format for outgoing messages. The following are the supported output format names:

  • GeoJSON
  • EsriJSON
  • Delimited
  • JSON

Строка

Write header rows

Specifies if 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 a comma.

Строка


В этом разделе
  1. Examples
  2. Usage note
  3. Parameters