When running multiple Data Plane nodes, there is no thread-safe behavior between nodes. In high-load scenarios, you may observe the same message being delivered multiple times across different Data Plane nodes
To minimize duplicate message delivery in a multi-node setup, consider:
Using a single Data Plane node for consuming messages from specific topics
Implementing idempotency handling in your consuming application
Monitoring Consumer Group offsets across your Data Plane nodes
The Kafka Consume plugin supports integration with Confluent Schema Registry for AVRO and JSON schemas.
Schema registries provide a centralized repository for managing and validating schemas for data formats like AVRO and JSON.
Integrating with a schema registry allows the plugin to validate and serialize/deserialize messages in a standardized format.
Using a schema registry with Kong Gateway provides several benefits:
Data validation: Ensures messages conform to a predefined schema before being processed.
Schema evolution: Manages schema changes and versioning.
Interoperability: Enables seamless communication between different services using standardized data formats.
Reduced overhead: Minimizes the need for custom validation logic in your applications.
To learn more about Kong’s supported schema registry, see: