Tüm Ürünler
Search
Belge Merkezi

:UpdateConsumerGroup

Son Güncelleme:Sep 30, 2026

Bir tüketici grubunun temel bilgilerini ve tüketim yeniden deneme ilkesini günceller.

Operation description

Önemli Alibaba Cloud tarafından sağlanan OpenAPI, Alibaba Cloud hizmetlerinin kaynaklarını yönetmek ve sorgulamak için kullanılan bir yönetim ve kontrol API'sidir. Yalnızca yönetim ve kontrol bağlantılarında entegrasyon için önerilir. OpenAPI'yi mesaj göndermek ve almak için temel veri bağlantısında kullanmayın. Aksi takdirde, veri bağlantısında riskler oluşabilir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

rocketmq:UpdateConsumerGroup

update

*ConsumerGroup

acs:rocketmq:{#regionId}:{#accountId}:instance/{#InstanceId}/consumergroup/{#ConsumerGroupId}

None None

Request syntax

PATCH /instances/{instanceId}/consumerGroups/{consumerGroupId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

Güncellenecek tüketici grubunun ait olduğu örneğin kimliği.

rmq-cn-7e22on9****

consumerGroupId

string

Yes

Güncellenecek tüketici grubunun kimliği.

CID-TEST

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

İstek gövdesi.

remark

string

No

Tüketici grubunun güncellenen açıklaması.

This is the remark for test.

deliveryOrderType deprecated

string

No

Değiştirilmesi desteklenmez.

Valid values:

  • Concurrently :

    Eş zamanlı teslimat.

  • Orderly :

    Sıralı teslimat.

Concurrently

consumeRetryPolicy

object

Yes

Tüketici grubunun güncellenen tüketim yeniden deneme ilkesi. Daha fazla bilgi için Tüketim yeniden deneme konusuna bakın.

retryPolicy

string

Yes

Yeniden deneme ilkesi türü. Daha fazla bilgi için Mesaj yeniden deneme konusuna bakın.

Geçerli değerler:

  • FixedRetryPolicy: Sabit aralıklı yeniden deneme. Yalnızca sıralı teslimat desteklenir.

  • DefaultRetryPolicy: Kademeli geri çekilme ile yeniden deneme. Yalnızca eş zamanlı teslimat desteklenir.

Valid values:

  • FixedRetryPolicy :

    Sabit aralıklı yeniden deneme.

  • DefaultRetryPolicy :

    Kademeli geri çekilme ile yeniden deneme.

DefaultRetryPolicy

maxRetryTimes

integer

No

Maksimum yeniden deneme sayısı.

16

deadLetterTargetTopic

string

No

Ölü mesaj konusu.

Bir tüketici bir mesajı tüketemezse ve yeniden denemelerden sonra mesaj hâlâ başarısız olursa, mesaj sonraki iş kurtarma veya inceleme işlemleri için ölü mesaj konusuna teslim edilir. Daha fazla bilgi için Tüketim yeniden deneme ve ölü mesajlar konusuna bakın.

DLQ_mqtest

fixedIntervalRetryTime

integer

No

Sabit yeniden deneme aralığı. Birim: saniye. Bu parametre yalnızca yeniden deneme ilkesi FixedRetryPolicy (sabit aralıklı yeniden deneme) olarak ayarlandığında geçerli olur. Geçerli değerler:

  • Eş zamanlı teslimat: 10-1800

  • Sıralı teslimat: 1-600

10

maxReceiveTps

integer

No

Mesaj tüketimi için TPS üst sınırı.

1000

Response elements

Element

Type

Description

Example

object

Result

requestId

string

İstek kimliği. Her isteğin, sorunları gidermek ve kaynağını tespit etmek için kullanabileceğiniz benzersiz bir kimliği vardır.

C7F94090-3358-506A-97DC-34BC803C****

success

boolean

İşlemin başarılı olup olmadığını gösterir.

true

data

boolean

Döndürülen sonuç.

true

code

string

Hata kodu.

InvalidDeliveryOrderType

message

string

Hata mesajı.

Parameter deliveryOrderType is invalid.

httpStatusCode

integer

HTTP durum kodu.

400

dynamicCode

string

Dinamik hata kodu.

DeliveryOrderType

dynamicMessage

string

Dinamik hata mesajı.

deliveryOrderType

Examples

Success response

JSON format

{
  "requestId": "C7F94090-3358-506A-97DC-34BC803C****",
  "success": true,
  "data": true,
  "code": "InvalidDeliveryOrderType",
  "message": "Parameter deliveryOrderType is invalid.",
  "httpStatusCode": 400,
  "dynamicCode": "DeliveryOrderType",
  "dynamicMessage": "deliveryOrderType"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.