Code Examples for Client-Side Field Level Encryption in Confluent Cloud

The following code examples and demos (for Java, Go, C#/.NET, JavaScript, and Python) can be used to help you use client-side field level encryption in Confluent Cloud. These examples are available in the Client-Side Field Level Encryption (CSFLE) Examples GitHub repository.

Requirements

Examples

Java

These following examples for producers and consumers use the supported Java client for Apache Kafka®. For details, see Apache Kafka Java Client.

Go

These examples use the supported Golang client for Apache Kafka®. For details, see 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 supported Confluent JavaScript Client for Apache Kafka®. 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