A partir da versão 1.14.2, o Apigee hybrid suporta payloads de mensagens grandes até 30 MB. O tamanho predefinido da carga útil da mensagem é de 10 MB. Consulte o tamanho do payload da mensagem.
Para ativar o suporte de payload de mensagens grande para a sua instalação híbrida, tem de fazer as seguintes alterações à configuração de tempo de execução:
ENV_RELEASE_NAME é um nome usado para monitorizar a instalação e as atualizações do gráfico apigee-env. Este nome tem de ser exclusivo dos outros nomes de lançamentos do Helm na sua instalação.
Normalmente, este valor é igual a ENV_NAME. No entanto, se o seu ambiente tiver o mesmo nome
que o seu grupo de ambientes, tem de usar nomes de lançamentos diferentes para o ambiente e o grupo de ambientes,
por exemplo, dev-env-release e dev-envgroup-release. Para mais informações sobre lançamentos
no Helm, consulte o artigo Três grandes conceitos class="external" na
documentação do Helm.
ENV_NAME é o nome do ambiente que está a atualizar.
OVERRIDES_FILE é o ficheiro overrides.yaml editado.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 UTC."],[],[],null,["# Configure large message payload support in Apigee hybrid\n\n| You are currently viewing version 1.14 of the Apigee hybrid documentation. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nOverview\n--------\n\n\nStarting in version 1.14.2, Apigee hybrid supports large message payloads up to 30MB. The default message payload size is 10MB. See [Message payload size](/apigee/docs/api-platform/fundamentals/best-practices-api-proxy-design-and-development#size).\n\n\nTo enable large message payload support for your hybrid installation, you need to make the following changes to your runtime configuration:\n\n- Increase the heap size to 4Gi.\n- Increase [`runtime.resources.limits.memory`](/apigee/docs/hybrid/v1.14/config-prop-ref#runtime-resources-limits-memory) to 6Gi.\n- Increase [`runtime.resources.requests.memory`](/apigee/docs/hybrid/v1.14/config-prop-ref#runtime-resources-requests-memory) to 4Gi.\n\nConfigure large message payload support for Apigee hybrid\n---------------------------------------------------------\n\n1. Add the following stanza to your `overrides.yaml` file: \n\n ```\n runtime:\n cwcAppend:\n bin_setenv_max_mem: 4096m # Increase max heap size to 4 gigs\n resources:\n requests:\n memory: 4Gi\n limits:\n memory: 6Gi\n ```\n2. Upgrade the `apigee-env` chart for each environment in your installation:\n\n Dry run: \n\n ```\n helm upgrade ENV_RELEASE_NAME apigee-env/ \\\n --install \\\n --namespace APIGEE_NAMESPACE \\\n --set env=ENV_NAME \\\n -f OVERRIDES_FILE \\\n --dry-run=server\n ```\n - \u003cvar translate=\"no\"\u003eENV_RELEASE_NAME\u003c/var\u003e is a name used to keep track of installation and upgrades of the `apigee-env` chart. This name must be unique from the other Helm release names in your installation. Usually this is the same as \u003cvar translate=\"no\"\u003eENV_NAME\u003c/var\u003e. However, if your environment has the same name as your environment group, you must use different release names for the environment and environment group, for example `dev-env-release` and `dev-envgroup-release`. For more information on releases in Helm, see [Three big concepts class=\"external\"](https://helm.sh/docs/intro/using_helm/#three-big-concepts) in the Helm documentation.\n - \u003cvar translate=\"no\"\u003eENV_NAME\u003c/var\u003e is the name of the environment you are upgrading.\n - \u003cvar translate=\"no\"\u003eOVERRIDES_FILE\u003c/var\u003e is your edited `overrides.yaml` file.\n\n Upgrade the chart: \n\n ```\n helm upgrade ENV_RELEASE_NAME apigee-env/ \\\n --install \\\n --namespace APIGEE_NAMESPACE \\\n --set env=ENV_NAME \\\n -f OVERRIDES_FILE\n ```"]]