Yunfeng Zhou created FLINK-41823:
------------------------------------
Summary: [FLIP-617] Add a public REST endpoint for operator
coordinator requests
Key: FLINK-41823
URL: https://issues.apache.org/jira/browse/FLINK-41823
Project: Flink
Issue Type: New Feature
Components: Runtime / REST
Reporter: Yunfeng Zhou
Assignee: Yunfeng Zhou
Fix For: 2.5.0
Flink has no documented REST endpoint for sending a request from an external
client to an operator coordinator in a running job. This issue implements the
endpoint approved in
[FLIP-617|https://cwiki.apache.org/confluence/display/FLINK/FLIP-617+Add+a+Public+REST+Endpoint+for+Operator+Coordinator+Requests].
Add \{{POST /jobs/:jobid/coordinators/:operatorUid/external}}. The endpoint
resolves the coordinator by job ID and operator UID, validates the request body
as JSON, and forwards the JSON text to the coordinator. It returns the
coordinator's JSON response directly. Flink defines the HTTP contract and error
handling. Each coordinator defines the payload schema and operation semantics.
Reuse the existing coordination request path and
\{{CoordinationRequestHandler}} interface. Update the REST API reference,
OpenAPI specification, and compatibility snapshot. Add HTTP integration
coverage for routing by operator UID, preservation of JSON text, and error
handling.
[Discussion
thread|https://lists.apache.org/thread/pxrq7vcsrly8n36mfxf9lhn3cfyl8s40] ยท
[Vote thread|https://lists.apache.org/thread/w8qs0tkbhs62t60b6vsr7sffl2bwvdf4]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)