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/02/10 07:19:09 UTC
[GitHub] [apisix] devops-utils-tools removed a comment on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools removed a comment on issue #6283:
URL: https://github.com/apache/apisix/issues/6283#issuecomment-1034572823
`
apiVersion: apisix.apache.org/v2beta2
kind: ApisixRoute
metadata:
name: method-route
spec:
http:
- name: method
backends:
- serviceName: kubernetes
servicePort: 443
match:
methods:
- GET
paths:
- /111
plugins:
- name: request-id
enable: true
config:
include_in_response: true
header_name: "X-Request-Id"
# - name: skywalking-logger
# enable: true
# config:
# sample_ratio: 1
# service_name: "skywalking-apisix-method"
# service_instance_name: "skywalking-apisix-method"
# endpoint_addr: "http://127.0.0.1:12800"
# report_interval: 30
# timeout: 15
# batch_max_size: 3000
# name: skywalking-logger-method
- name: cors
enable: true
- name: proxy-rewrite
enable: true
config:
regex_uri:
- ^/case/(.*)
- /newcase/$1
- name: kafka-logger
enable: true
config:
broker_list: "{192.168.25.111:9092}"
# broker_list:
# - 192.168.25.111:9092
kafka_topic: apisix_method
name: kafka-logger-method
key: kafka-logger-method
producer_type: async
batch_max_size: 3000
inactive_timeout: 30
buffer_duration: 300
retry_delay: 5
max_retry_count: 3
`
--
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