본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Confluent Consume 플러그인 구성 참조

원문 보기 위키 갱신

Confluent Consume 플러그인 구성 참조 (Confluent Consume Plugin Configuration Reference)

이 문서는 Kong Gateway에서 Confluent Consume 플러그인을 설정하는 방법을 상세히 설명하고 있어요. 각 구성 속성의 기본값, 설명, 그리고 사용 가능한 옵션들을 JSON 스키마 형식으로 제공합니다. 특히 Kafka 클러스터 연결, 인증, 오프셋 리셋 전략 등 핵심 설정을 이해하는 데 도움을 줍니다.

출처: 문서

본문

다음은 Kong 문서의 한 조각이야. 규칙대로 번역해라.

{
  "properties": {
    "config": {
      "properties": {
        "auto_offset_reset": {
          "default": "earliest",
          "description": "The offset to start from when there is no initial offset in the consumer group.",
          "enum": [
            "earliest",
            "latest"
          ],
          "type": "string"
        },
        "bootstrap_servers": {
          "description": "Set of bootstrap brokers in a `{host: host, port: port}` list format.",
          "items": {
            "properties": {
              "host": {
                "description": "A string representing a host name, such as example.com.",
                "type": "string"
              },
              "port": {
                "description": "An integer representing a port number between 0 and 65535, inclusive.",
                "maximum": 65535,
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "host",
              "port"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "cluster_api_key": {
          "description": "Username/Apikey for SASL authentication. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
          "type": "string",
          "x-encrypted": true,
          "x-referenceable": true
        },
        "cluster_api_secret": {
          "description": "Password/ApiSecret for SASL authentication. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
          "type": "string",
          "x-encrypted": true,
          "x-referenceable": true
        },
        "cluster_name": {
          "description": "An identifier for the Kafka cluster. By default, this field generates a random string. You can also set your own custom cluster identifier.  If more than one Kafka plugin is configured without a `cluster_name` (that is, if the default autogenerated value is removed), these plugins will use the same producer, and by extension, the same cluster. Logs will be sent to the leader of the cluster.",
          "type": "string"
        },
        "commit_strategy": {
          "default": "auto",
          "description": "The strategy to use for committing offsets.",
          "enum": [
            "auto",
            "off"
          ],
          "type": "string"
        },
        "confluent_cloud_api_key": {
          "description": "Apikey for authentication with Confluent Cloud. This allows for management tasks such as creating topics, ACLs, etc. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
          "type": "string",
          "x-encrypted": true,
          "x-referenceable": true
        },
        "confluent_cloud_api_secret": {
          "description": "The corresponding secret for the Confluent Cloud API key. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
          "type": "string",
          "x-encrypted": true,
          "x-referenceable": true
        },
        "consumer_group": {
          "description": "Configuration for the Kafka consumer group ID.",
          "properties": {
            "consumer_group_id": {
              "description": "The fixed consumer group ID to use when mode is set to `manual`. For SSE and WebSocket modes, a `.<node_id>` suffix is automatically appended.",
              "type": "string"
            },
            "mode": {
              "default": "random",
              "description": "The strategy to determine the consumer group ID. `random`: a hash `com.konghq.kafka.<md5>` over the plugin ID (plus consumer identifier/IP and node ID for SSE/WebSocket). `kong_consumer`: uses the authenticated consumer's `username`, `custom_id`, then `id`, directly; falls back to `random` if no consumer is authenticated. `manual`: uses `consumer_group_id` directly. For SSE/WebSocket, `manual` and `kong_consumer` group IDs get a `.<node_id>` suffix.",
              "enum": [
                "kong_consumer",
                "manual",
                "random"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "dlq_topic": {
          "description": "The topic to use for the Dead Letter Queue.",
          "type": "string"
        },
        "enable_dlq": {
          "description": "Enables Dead Letter Queue. When enabled, if the message doesn't conform to the schema (from Schema Registry) or there's an error in the `message_by_lua_functions`, it will be forwarded to `dlq_topic` that can be processed later.",
          "type": "boolean"
        },
        "enforce_latest_offset_reset": {
          "default": false,
          "description": "When true, 'latest' offset reset behaves correctly (starts from end). When false (default), maintains backwards compatibility where 'latest' acts like 'earliest'.",
          "type": "boolean"
        },
        "error_handling": {
          "properties": {
            "return_error_message": {
              "default": false,
              "description": "When enabled, the Kafka client error message is returned to the HTTP client. Useful for debugging but may expose internal details, so should be disabled in production.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "keepalive": {
          "default": 60000,
          "description": "Keepalive timeout in milliseconds.",
          "type": "integer"
        },
        "keepalive_enabled": {
          "default": false,
          "type": "boolean"
        },
        "message_by_lua_functions": {
          "description": "The Lua functions that manipulates the message being sent to the client.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "message_deserializer": {
          "default": "noop",
          "description": "The deserializer to use for the consumed messages.",
          "enum": [
            "json",
            "noop"
          ],
          "type": "string"
        },
        "mode": {
          "default": "http-get",
          "description": "The mode of operation for the plugin.",
          "enum": [
            "http-get",
            "server-sent-events",
            "websocket"
          ],
          "type": "string"
        },
        "oauthbearer": {
          "description": "Options for SASL OAUTHBEARER authentication. When set, takes precedence over `cluster_api_key`/`cluster_api_secret`.",
          "properties": {
            "client_id": {
              "description": "The OAuth2 client ID. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
              "type": "string",
              "x-referenceable": true
            },
            "client_secret": {
              "description": "The OAuth2 client secret. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
              "type": "string",
              "x-encrypted": true,
              "x-referenceable": true
            },
            "extensions": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).",
              "type": "object"
            },
            "scopes": {
              "description": "List of OAuth2 scopes to request.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "token_endpoint_tls_verify": {
              "default": true,
              "description": "Whether to verify the TLS certificate of the token endpoint.",
              "type": "boolean"
            },
            "token_endpoint_url": {
              "description": "The URL of the OAuth2 token endpoint. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
              "type": "string",
              "x-referenceable": true
            }
          },
          "type": "object"
        },
        "schema_registry": {
          "description": "The plugin-global schema registry configuration.",
          "properties": {
            "confluent": {
              "properties": {
                "authentication": {
                  "properties": {
                    "basic": {
                      "properties": {
                        "password": {
                          "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        },
                        "username": {
                          "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        }
                      },
                      "required": [
                        "password",
                        "username"
                      ],
                      "type": "object"
                    },
                    "identity_pool_id": {
                      "description": "The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token's claims.",
                      "type": "string"
                    },
                    "logical_cluster_id": {
                      "description": "The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is 'oauth2'.",
                      "type": "string"
                    },
                    "mode": {
                      "default": "none",
                      "description": "Authentication mode to use with the schema registry.",
                      "enum": [
                        "basic",
                        "none",
                        "oauth2"
                      ],
                      "type": "string"
                    },
                    "oauth2": {
                      "properties": {
                        "audience": {
                          "default": [],
                          "description": "List of audiences passed to the IdP when obtaining a new token.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "client_id": {
                          "description": "The client ID for the application registration in the IdP. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        },
                        "client_secret": {
                          "description": "The client secret for the application registration in the IdP. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        },
                        "grant_type": {
                          "default": "client_credentials",
                          "description": "The OAuth grant type to be used.",
                          "enum": [
                            "client_credentials",
                            "password"
                          ],
                          "type": "string"
                        },
                        "password": {
                          "description": "The password to use if `config.oauth.grant_type` is set to `password`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        },
                        "scopes": {
                          "default": [
                            "openid"
                          ],
                          "description": "List of scopes to request from the IdP when obtaining a new token.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "token_endpoint": {
                          "description": "The token endpoint URI.",
                          "type": "string"
                        },
                        "token_headers": {
                          "additionalProperties": {
                            "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                            "type": "string",
                            "x-referenceable": true
                          },
                          "description": "Extra headers to be passed in the token endpoint request. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                          "type": "object"
                        },
                        "token_post_args": {
                          "additionalProperties": {
                            "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                            "type": "string",
                            "x-referenceable": true
                          },
                          "description": "Extra post arguments to be passed in the token endpoint request. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                          "type": "object"
                        },
                        "username": {
                          "description": "The username to use if `config.oauth.grant_type` is set to `password`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                          "type": "string",
                          "x-encrypted": true,
                          "x-referenceable": true
                        }
                      },
                      "required": [
                        "token_endpoint"
                      ],
                      "type": "object"
                    },
                    "oauth2_client": {
                      "properties": {
                        "auth_method": {
                          "default": "client_secret_post",
                          "description": "The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.",
                          "enum": [
                            "client_secret_basic",
                            "client_secret_jwt",
                            "client_secret_post",
                            "none"
                          ],
                          "type": "string"
                        },
                        "client_secret_jwt_alg": {
                          "default": "HS512",
                          "description": "The algorithm to use with JWT when using `client_secret_jwt` authentication.",
                          "enum": [
                            "HS256",
                            "HS512"
                          ],
                          "type": "string"
                        },
                        "http_proxy": {
                          "description": "The proxy to use when making HTTP requests to the IdP.",
                          "type": "string"
                        },
                        "http_proxy_authorization": {
                          "description": "The `Proxy-Authorization` header value to be used with `http_proxy`.",
                          "type": "string"
                        },
                        "http_version": {
                          "default": 1.1,
                          "description": "The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.",
                          "type": "number"
                        },
                        "https_proxy": {
                          "description": "The proxy to use when making HTTPS requests to the IdP.",
                          "type": "string"
                        },
                        "https_proxy_authorization": {
                          "description": "The `Proxy-Authorization` header value to be used with `https_proxy`.",
                          "type": "string"
                        },
                        "keep_alive": {
                          "default": true,
                          "description": "Whether to use keepalive connections to the IdP.",
                          "type": "boolean"
                        },
                        "no_proxy": {
                          "description": "A comma-separated list of hosts that should not be proxied.",
                          "type": "string"
                        },
                        "ssl_verify": {
                          "default": true,
                          "description": "Whether to verify the certificate presented by the IdP when using HTTPS.",
                          "type": "boolean"
                        },
                        "timeout": {
                          "default": 10000,
                          "description": "Network I/O timeout for requests to the IdP in milliseconds.",
                          "maximum": 2147483646,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "ssl_verify": {
                  "default": true,
                  "description": "Set to false to disable SSL certificate verification when connecting to the schema registry.",
                  "type": "boolean"
                },
                "ttl": {
                  "description": "The TTL in seconds for the schema registry cache.",
                  "maximum": 3600,
                  "minimum": 0,
                  "type": "number"
                },
                "url": {
                  "description": "The URL of the schema registry.",
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "security": {
          "properties": {
            "ssl_verify": {
              "default": true,
              "description": "Enables verification of the certificate presented by the server.",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "timeout": {
          "default": 10000,
          "description": "Socket timeout in milliseconds.",
          "type": "integer"
        },
        "topics": {
          "description": "The Kafka topics and their configuration you want to consume from.",
          "items": {
            "properties": {
              "name": {
                "type": "string"
              },
              "schema_registry": {
                "description": "The plugin-global schema registry configuration.",
                "properties": {
                  "confluent": {
                    "properties": {
                      "authentication": {
                        "properties": {
                          "basic": {
                            "properties": {
                              "password": {
                                "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              },
                              "username": {
                                "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              }
                            },
                            "required": [
                              "password",
                              "username"
                            ],
                            "type": "object"
                          },
                          "identity_pool_id": {
                            "description": "The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token's claims.",
                            "type": "string"
                          },
                          "logical_cluster_id": {
                            "description": "The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is 'oauth2'.",
                            "type": "string"
                          },
                          "mode": {
                            "default": "none",
                            "description": "Authentication mode to use with the schema registry.",
                            "enum": [
                              "basic",
                              "none",
                              "oauth2"
                            ],
                            "type": "string"
                          },
                          "oauth2": {
                            "properties": {
                              "audience": {
                                "default": [],
                                "description": "List of audiences passed to the IdP when obtaining a new token.",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "client_id": {
                                "description": "The client ID for the application registration in the IdP. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              },
                              "client_secret": {
                                "description": "The client secret for the application registration in the IdP. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              },
                              "grant_type": {
                                "default": "client_credentials",
                                "description": "The OAuth grant type to be used.",
                                "enum": [
                                  "client_credentials",
                                  "password"
                                ],
                                "type": "string"
                              },
                              "password": {
                                "description": "The password to use if `config.oauth.grant_type` is set to `password`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              },
                              "scopes": {
                                "default": [
                                  "openid"
                                ],
                                "description": "List of scopes to request from the IdP when obtaining a new token.",
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "token_endpoint": {
                                "description": "The token endpoint URI.",
                                "type": "string"
                              },
                              "token_headers": {
                                "additionalProperties": {
                                  "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                                  "type": "string",
                                  "x-referenceable": true
                                },
                                "description": "Extra headers to be passed in the token endpoint request. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                                "type": "object"
                              },
                              "token_post_args": {
                                "additionalProperties": {
                                  "description": "\nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                                  "type": "string",
                                  "x-referenceable": true
                                },
                                "description": "Extra post arguments to be passed in the token endpoint request. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault).",
                                "type": "object"
                              },
                              "username": {
                                "description": "The username to use if `config.oauth.grant_type` is set to `password`. \nThis field is [referenceable](/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). \nThis field is [encrypted](/gateway/keyring/).",
                                "type": "string",
                                "x-encrypted": true,
                                "x-referenceable": true
                              }
                            },
                            "required": [
                              "token_endpoint"
                            ],
                            "type": "object"
                          },
                          "oauth2_client": {
                            "properties": {
                              "auth_method": {
                                "default": "client_secret_post",
                                "description": "The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.",
                                "enum": [
                                  "client_secret_basic",
                                  "client_secret_jwt",
                                  "client_secret_post",
                                  "none"
                                ],
                                "type": "string"
                              },
                              "client_secret_jwt_alg": {
                                "default": "HS512",
                                "description": "The algorithm to use with JWT when using `client_secret_jwt` authentication.",
                                "enum": [
                                  "HS256",
                                  "HS512"
                                ],
                                "type": "string"
                              },
                              "http_proxy": {
                                "description": "The proxy to use when making HTTP requests to the IdP.",
                                "type": "string"
                              },
                              "http_proxy_authorization": {
                                "description": "The `Proxy-Authorization` header value to be used with `http_proxy`.",
                                "type": "string"
                              },
                              "http_version": {
                                "default": 1.1,
                                "description": "The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.",
                                "type": "number"
                              },
                              "https_proxy": {
                                "description": "The proxy to use when making HTTPS requests to the IdP.",
                                "type": "string"
                              },
                              "https_proxy_authorization": {
                                "description": "The `Proxy-Authorization` header value to be used with `https_proxy`.",
                                "type": "string"
                              },
                              "keep_alive": {
                                "default": true,
                                "description": "Whether to use keepalive connections to the IdP.",
                                "type": "boolean"
                              },
                              "no_proxy": {
                                "description": "A comma-separated list of hosts that should not be proxied.",
                                "type": "string"
                              },
                              "ssl_verify": {
                                "default": true,
                                "description": "Whether to verify the certificate presented by the IdP when using HTTPS.",
                                "type": "boolean"
                              },
                              "timeout": {
                                "default": 10000,
                                "description": "Network I/O timeout for requests to the IdP in milliseconds.",
                                "maximum": 2147483646,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      },
                      "ssl_verify": {
                        "default": true,
                        "description": "Set to false to disable SSL certificate verification when connecting to the schema registry.",
                        "type": "boolean"
                      },
                      "ttl": {
                        "description": "The TTL in seconds for the schema registry cache.",
                        "maximum": 3600,
                        "minimum": 0,
                        "type": "number"
                      },
                      "url": {
                        "description": "The URL of the schema registry.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "topics"
      ],
      "type": "object"
    },
    "consumer": {
      "additionalProperties": false,
      "description": "If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "expressions": {
      "additionalProperties": true,
      "type": "object"
    },
    "protocols": {
      "default": [
        "grpc",
        "grpcs",
        "http",
        "https",
        "ws",
        "wss"
      ],
      "description": "A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.",
      "items": {
        "enum": [
          "grpc",
          "grpcs",
          "http",
          "https",
          "ws",
          "wss"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "service": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "config"
  ]
}

다음은 Kong 문서의 한 조각이야. 규칙대로 번역해라.

관련 리소스

더 알아보기 (Learn more)