Kafka

Connect Validio to Apache Kafka for real-time data quality monitoring on streaming data.

The Apache Kafka integration enables real-time data quality monitoring on streaming data in Validio. To integrate with Kafka, you will need to add a credential and add a source for the data stream.

Prerequisites for Integrating with Kafka

Certain credentials and permission are required for Validio to validate your data:

Add a Kafka Credential

To add a Kafka credential in Validio,

  1. Navigate to Credentials and click + New credential.
  2. Under Namespace, select a namespace where the resources will be created.
  3. For Credential Type, select either Kafka SSL or Kafka SASL SSL Plain, depending on the authentication method for your Kafka clusters.
  4. Fill in the Configuration parameter fields. Refer to the Kafka Credential Parameters section.
  5. (Optional) Click Test credential to validate that Validio can successfully access the Kafka cluster. If validation fails, check that you provided the correct parameter values.
  6. Check Use for catalog and schema checks to automatically discover credentials and add them to the catalog page.
  7. Click Create.

Kafka Credential Parameters

The Kafka credential configuration depends on the authentication method for your Kafka clusters, either Kafka SSL or Kafka SASL SSL Plain.

Kafka SSL Parameters

The Kafka SSL Credentials credential type requires the following parameters and certificates:

FieldDescription
NameIdentifier for the credentials. Used when accessing Sources.
Bootstrap serverThe address of Kafka load balancer or Kafka cluster address. Use a comma to separate multiple addresses.
CA certificateA certificate of Certificate authority (CA) in CRT format.
Client certificateClient SSL certificate in PEM format.
Client private keyPrivate keys of client certificate in PEM format.
Client private key passwordPassword or passphrase of private keys for the client certificate.

You can either provide the certificates and client private key as plain text or upload the files.

Kafka SASL SSL Plain Parameters

The Kafka SASL Plain Credential credential type, which uses TLS/SSL as transport layer, requires the following parameters and certificates:

FieldDescription
NameIdentifier for the credentials. Used when accessing Sources.
Bootstrap serverThe address of Kafka load balancer or Kafka cluster address. Use a comma to separate multiple addresses.
UsernameUsername for the SASL Plain Credential.
PasswordPassword for the SASL Plain Credential.

Add a Kafka Source

To add a source for Kafka,

  1. Navigate to Sources and click + New source.
  2. Under Source type, select Apache Kafka.
  3. Fill in the configuration parameters. For more information, see Kafka Configuration Parameters.
  4. Click Continue to create the source.

Kafka Configuration Parameters

FieldDescription
NameIdentifier for the Source. Used when setting up Validators.
ClusterName of the Kafka cluster to read data from.
Message formatJSON, AVRO, or PROTOBUF
Message schemaFor JSON, Validio automatically infers the schema. For AVRO and PROTOBUF, you can upload schemas. For more information, see Data Stream Sources.