You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/17 09:27:42 UTC

[GitHub] [apisix-dashboard] liuxiran commented on issue #790: bug: when create a route with kafka-logger, the plugin's option is missing field.

liuxiran commented on issue #790:
URL: https://github.com/apache/apisix-dashboard/issues/790#issuecomment-728803034


   `broker_list` has to be transformed schema, from 
   ```json
   {
   		"properties": {
   			...
   			"broker_list": {
   				"type": "object"
   			}
                    }
   }
   ```
   
   to 
   
   ```json
   {
       "properties": {
           ...
           "broker_list": {
   	"type": "array",
           "items": {
             "type": "object",
             "properties": {
               "host": {
                 "type": "string"
               },
               "port": {
                 "type": "integer"
               }
             },
             "required": ["host", "port"],
             "minItems": 1
           }
       }
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org