anchor.diff:  = Using the Kafka controller
   :page-sidebar: apim_3_x_sidebar
  -:page-permalink: apim/3.x/apim_publishersme_using_kafka.html
  +:page-permalink: apim/3.x/apim_publisherguide_using_kafka.html
   :page-folder: apim/user-guide/publisher
   :page-layout: apim3x
   
  
positive.code: 
  === Producing messages
  
  Using the HTTP `POST` command to the example endpoint `https://apim-3-x-x-gateway.cloud.gravitee.io/kafka/messages`, you can send a message with the followig structure:
  
  [source,json]
  ----
  https://apim-3-13-x-gateway.cloud.gravitee.io/kafka/messages
  {
    "messages": [
      {
  
negative.code: 
  === Consuming messages
  
  Using the HTTP `GET` command to the example endpoint `https://api.company.com/kafka/messages`, you can receive any available messages.