[
https://issues.apache.org/jira/browse/FLINK-39711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082713#comment-18082713
]
Jubin Soni commented on FLINK-39711:
------------------------------------
Thanks [~savonitar] for the pointer to
[JobStatusObserver.java#L126,|https://github.com/apache/flink-kubernetes-operator/blob/ac1b1357d60bc99d49c6057223c39f845e948df1/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/JobStatusObserver.java#L126]
that's exactly the downstream consumer this is meant to unblock.
Just a heads-up that I already have a PR open for this:
[flink#28202.|https://github.com/apache/flink/pull/28202] It currently scopes
to the job endpoint, the application-side wiring turned out to need its own
server-side work, which I'll file as a follow-up JIRA. Reviews or input on the
PR are very welcome.
> Allow setting maxExceptions on JobExceptionsMessageParameters in Java clients
> -----------------------------------------------------------------------------
>
> Key: FLINK-39711
> URL: https://issues.apache.org/jira/browse/FLINK-39711
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / REST
> Reporter: Aleksandr Savonin
> Priority: Minor
> Labels: pull-request-available
>
> Problem:
> JobExceptionsMessageParameters.upperLimitExceptionParameter is private final
> with no accessor, so Java clients of Flink's typed REST client cannot
> override the server-side default.
> In contrast, the REST endpoint {{GET /jobs/:jobid/exceptions}} accepts an
> optional {{maxExceptions}} query parameter that bounds the size of the
> response, but Java clients of Flink's typed REST API cannot set it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)