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๏
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.
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.