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

A continuación se presentan ejemplos de casos de uso de la salida:

  • 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

Tenga en cuenta lo siguiente al trabajar con la salida:

The following output data formats are available:

  • Delimited
  • JSON
  • GeoJSON
  • EsriJSON

Parameters

A continuación se indican los parámetros de la salida:

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.

Cadena de caracteres

Topic

The Kafka topic the output sends messages to.

Cadena de caracteres

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

Cadena de caracteres

Use SSL

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

Nota:

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

Booleano

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.

Cadena de caracteres

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.

Cadena de caracteres

Output format name

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

  • GeoJSON
  • EsriJSON
  • Delimited
  • JSON

Cadena de caracteres

Write header rows

Specifies if the files write out the header row with field names. The default is false.

Booleano

Field delimiter

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

Cadena de caracteres