[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented on issue #6283: URL: https://github.com/apache/apisix/issues/6283#issuecomment-1705890026 Thank you for following the effective configuration reference https://github.com/apache/apisix/assets/23474386/467857ec-d1a5-4da4-bfad-f94ecde95e28;> `- config: batch_max_size: 3000 broker_list: 192.168.25.32: 9092 192.168.25.33: 9092 192.168.25.34: 9092 buffer_duration: 300 inactive_timeout: 30 kafka_topic: apisix-domain-logs key: zipkin-server max_retry_count: 3 name: zipkin-server producer_type: async retry_delay: 5 enable: true name: kafka-logger` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented on issue #6283: URL: https://github.com/apache/apisix/issues/6283#issuecomment-1035705124 ``` [GIN] 2022/02/11 - 09:32:49 | 200 | 43.49µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:32:50 | 200 | 57.352µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:32:59 | 200 | 55.962µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:00 | 200 | 39.507µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:09 | 200 | 71.029µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:10 | 200 | 41.372µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:19 | 200 | 59.775µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:20 | 200 | 41.427µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:29 | 200 | 48.348µs | 192.168.25.63 | GET "/healthz" [GIN] 2022/02/11 - 09:33:30 | 200 | 42.612µs | 192.168.25.63 | GET "/healthz" 2022-02-11T09:33:34+08:00error apisix/route.go:164 failed to create route: unexpected status code 400; error message: {"error_msg":"failed to check the configuration of plugin kafka-logger err: property \"broker_list\" validation failed: wrong type: expected object, got table"} 2022-02-11T09:33:34+08:00warningress/apisix_route.go:307 sync ApisixRoute failed, will retry {"object": {"Type":1,"Object":{"Key":"default/method-route","OldObject":null,"GroupVersion":"apisix.apache.org/v2beta1"},"Tombstone":null}, "error": "1 error occurred:\n\t* unexpected status code 400; error message: {\"error_msg\":\"failed to check the configuration of plugin kafka-logger err: property \\\"broker_list\\\" validation failed: wrong type: expected object, got table\"}\n\n\n"} ``` config: # broker_list: "{192.168.25.111:9092}" broker_list: - "192.168.25.111:9092" ``` ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented on issue #6283: URL: https://github.com/apache/apisix/issues/6283#issuecomment-1034666851 Tried both ways, same error -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented on issue #6283: URL: https://github.com/apache/apisix/issues/6283#issuecomment-1034573312 ``` 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented on issue #6283: URL: https://github.com/apache/apisix/issues/6283#issuecomment-1034573008 ` 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] devops-utils-tools commented on issue #6283: bug: plugin kafka-logger configuration error
devops-utils-tools commented 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org