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.

布尔

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.

布尔

Field delimiter

The field delimiter used by the file to separate fields. The default is a comma.

字符串