Simple JSON encoding for Avro schemasv3.16+

Configure the Kafka Upstream plugin to accept plain JSON for an Avro schema with nullable fields, instead of Avro-encoded JSON with type-tagged unions.

Prerequisites

Environment variables

  • KAFKA_TOPIC: The name of your Kafka topic.

  • BOOTSTRAP_SERVER_HOST: The bootstrap server host.

  • REGISTRY_URL: The URL of your Confluent Schema Registry instance. For example, http://schema-registry:8081.

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!