Client-Side Field Level Encryption Examples for Confluent Platform

The following code examples and demos (for Java, Go, C#/.NET, JavaScript, and Python) can teach you how to use client-side field level encryption on Confluent Platform. You can find the example code in the Client-Side Field Level Encryption (CSFLE) Examples GitHub repository.

Requirements

  • A Confluent Enterprise cluster version 7.9 or later.

  • For clients supporting CSFLE, see Requirements.

Examples

Java

These following producers and consumers examples use the Apache Kafka® Java client. Apache Kafka Java Client.

Go

These examples use the supported Kafka Go client. Confluent’s Golang Client for Apache Kafka.

Avro

JSON

Protobuf

C#/.NET

The following examples use Confluent’s .NET client for Apache Kafka®. For details, see Confluent’s .NET client for Apache Kafka.

Avro

JSON

Protobuf

Javascript

The following examples use the Kafka Javascript client. For details, see Confluent’s Javascript Client for Apache Kafka.

Avro

Python

The following examples use the supported Python client for Apache Kafka®. For details, see Confluent’s Python Client for Apache Kafka.

Avro

JSON

Protobuf