This plugin converts requests into Apache Kafka messages and publishes them to a specified Kafka topic.
For more details, see Kafka topics.
Kong Gateway also offers a separate Kafka Log plugin for streaming logs to Kafka topics.
This plugin converts requests into Apache Kafka messages and publishes them to a specified Kafka topic.
For more details, see Kafka topics.
Kong Gateway also offers a separate Kafka Log plugin for streaming logs to Kafka topics.
This plugin uses the lua-resty-kafka client.
When encoding request bodies, several things happen:
application/x-www-form-urlencoded
, multipart/form-data
,
or application/json
, this plugin passes the raw request body in the body
attribute, and tries
to return a parsed version of those arguments in body_args
. If this parsing fails, an error message is
returned and the message is not sent.content-type
is not text/plain
, text/html
, application/xml
, text/xml
, or application/soap+xml
,
then the body will be base64-encoded to ensure that the message can be sent as JSON. In such a case,
the message has an extra attribute called body_base64
set to true
.Known limitations: