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 2022/01/13 06:52:52 UTC

[GitHub] [apisix] cuiWT removed a comment on issue #6083: request help: define my plugin fail

cuiWT removed a comment on issue #6083:
URL: https://github.com/apache/apisix/issues/6083#issuecomment-1011846540


   > What are the `plugins` configuration items in your `config.yaml`?
   
   plugins:                          # plugin list (sorted by priority)
     - real-ip                        # priority: 23000
     - client-control                 # priority: 22000
     - ext-plugin-pre-req             # priority: 12000
     - zipkin                         # priority: 11011
     - request-id                     # priority: 11010
     - fault-injection                # priority: 11000
     - serverless-pre-function        # priority: 10000
     - batch-requests                 # priority: 4010
     - cors                           # priority: 4000
     - ip-restriction                 # priority: 3000
     - ua-restriction                 # priority: 2999
     - referer-restriction            # priority: 2990
     - uri-blocker                    # priority: 2900
     - request-validation             # priority: 2800
     - openid-connect                 # priority: 2599
     - authz-casbin                   # priority: 2560
     - wolf-rbac                      # priority: 2555
     - ldap-auth                      # priority: 2540
     - hmac-auth                      # priority: 2530
     - basic-auth                     # priority: 2520
     - jwt-auth                       # priority: 2510
     - key-auth                       # priority: 2500
     - consumer-restriction           # priority: 2400
     - authz-keycloak                 # priority: 2000
     #- error-log-logger              # priority: 1091
     - proxy-mirror                   # priority: 1010
     - proxy-cache                    # priority: 1009
     - proxy-rewrite                  # priority: 1008
     - api-breaker                    # priority: 1005
     - limit-conn                     # priority: 1003
     - limit-count                    # priority: 1002
     - limit-req                      # priority: 1001
     #- node-status                   # priority: 1000
     - gzip                           # priority: 995
     - server-info                    # priority: 990
     - traffic-split                  # priority: 966
     - redirect                       # priority: 900
     - response-rewrite               # priority: 899
     #- dubbo-proxy                   # priority: 507
     - grpc-transcode                 # priority: 506
     - prometheus                     # priority: 500
     - datadog                        # priority: 495
     - echo                           # priority: 412
     - http-logger                    # priority: 410
     - skywalking-logger              # priority: 408
     - sls-logger                     # priority: 406
     - tcp-logger                     # priority: 405
     - kafka-logger                   # priority: 403
     - syslog                         # priority: 401
     - udp-logger                     # priority: 400
     #- log-rotate                    # priority: 100
     # <- recommend to use priority (0, 100) for your custom plugins
     - example-plugin                 # priority: 0
     #- skywalking                    # priority: -1100
     - azure-functions                # priority: -1900
     - serverless-post-function       # priority: -2000
     - ext-plugin-post-req            # priority: -3000
     - feature-env-plugin             # priority: 10
   
   stream_plugins: # sorted by priority
     - ip-restriction                 # priority: 3000
     - limit-conn                     # priority: 1003
     - mqtt-proxy                     # priority: 1000
     # <- recommend to use priority (0, 100) for your custom plugins
   
   #wasm:
     #plugins:
       #- name: wasm_log
         #priority: 7999
         #file: t/wasm/log/main.go.wasm
   
   plugin_attr:
     log-rotate:
       interval: 3600    # rotate interval (unit: second)
       max_kept: 168     # max number of log files will be kept
       enable_compression: false    # enable log file compression(gzip) or not, default false
     skywalking:
       service_name: APISIX
       service_instance_name: APISIX Instance Name
       endpoint_addr: http://127.0.0.1:12800
     prometheus:
       export_uri: /apisix/prometheus/metrics
       enable_export_server: true
       export_addr:
         ip: 127.0.0.1
         port: 9091
     server-info:
       report_interval: 60  # server info report interval (unit: second)
       report_ttl: 3600     # live time for server info in etcd (unit: second)
     dubbo-proxy:
       upstream_multiplex_count: 32
     request-id:
       snowflake:
         enable: false
         snowflake_epoc: 1609459200000   # the starting timestamp is expressed in milliseconds
         data_machine_bits: 12           # data machine bit, maximum 31, because Lua cannot do bit operations greater than 31
         sequence_bits: 10               # each machine generates a maximum of (1 << sequence_bits) serial numbers per millisecond
         data_machine_ttl: 30            # live time for data_machine in etcd (unit: second)
         data_machine_interval: 10       # lease renewal interval in etcd (unit: second)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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