Kirim masukan
Menyetel batas ukuran pesan di Router atau Pemroses Pesan
Untuk mencegah masalah memori di Edge, ukuran payload pesan di Router dan Pemroses Pesan adalah
dibatasi hingga 10 MB. Melebihi ukuran tersebut akan
error protocol.http.TooBigBody
.
Gunakan properti berikut untuk mengubah batas pada Router, Pemroses Pesan, atau keduanya.
Kedua properti memiliki nilai default "10m" setara dengan 10 MB:
conf_http_HTTPRequest.body.buffer.limit
conf_http_HTTPResponse.body.buffer.limit
Untuk menetapkan properti ini:
Buka file router.properties
atau message-processor.properties
{i>file<i} di editor. Jika file tidak ada, buat file tersebut:
vi /opt/apigee/customer/application/router.properties
atau:
vi /opt/apigee/customer/application/message-processor.properties
Tetapkan properti sesuai keinginan:
conf_http_HTTPRequest.body.buffer.limit=15m
conf_http_HTTPResponse.body.buffer.limit=15m
Simpan perubahan.
Pastikan file properti dimiliki oleh "apigee" pengguna:
chown apigee:apigee /opt/apigee/customer/application/router.properties
atau:
chown apigee:apigee /opt/apigee/customer/application/message-processor.properties
Mulai ulang komponen Edge:
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
atau:
/opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart
Kirim masukan
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0 , sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0 . Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers . Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-29 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]
Ada masukan untuk kami?
{"lastModified": "Terakhir diperbarui pada 2024-08-29 UTC."}
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-08-29 UTC."],[],[]]