Code Examples for Client-Side Field Level Encryption in Confluent Cloud¶
The following code examples and demos (for Java, Go, C#/.NET, Node.js, 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¶
- A Confluent Cloud cluster with Advanced Stream Governance enabled. For details, see Dependency on Stream Governance.
- For clients supporting CSFLE, see 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.
C#/.NET¶
The following examples use Confluent’s .NET client for Apache Kafka®. For details, see Confluent’s .NET client for Apache Kafka.
Protobuf¶
Node.js¶
The following examples use the supported Node.js client for Apache Kafka®. For details, see Confluent’s Node.js Client for Apache Kafka.
Python¶
The following examples use the supported Python client for Apache Kafka®. For details, see Confluent’s Python Client for Apache Kafka.