Skip to content

[Bug] Proxy remoting CHECK_CLIENT_CONFIG always returns success #10795

Description

@Aias00

What happened?

The Proxy remoting implementation of RequestCode.CHECK_CLIENT_CONFIG currently creates a success response without validating the request body.

Broker-side handling validates CheckClientRequestBody, including filter expression type support and expression parse errors, and returns an error response when the client config is invalid. The Proxy remoting path should preserve that behavior instead of always returning success.

Expected behavior

Proxy remoting CHECK_CLIENT_CONFIG should decode and validate the request in the same way as the broker path, returning an error response for unsupported or invalid subscription expressions.

Scope

RocketMQ Proxy / remoting compatibility. This is related to the Proxy Admin and client diagnostics track because invalid client subscription configuration should be visible through the Proxy path.

Suggested fix

Decode CheckClientRequestBody, validate expression type and expression syntax, and return the corresponding remoting error code when validation fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions