You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Márton Balassi (Jira)" <ji...@apache.org> on 2023/04/04 21:30:00 UTC
[jira] [Closed] (FLINK-31716) Event UID field is missing the first time that an event is consumed
[ https://issues.apache.org/jira/browse/FLINK-31716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Márton Balassi closed FLINK-31716.
----------------------------------
Fix Version/s: kubernetes-operator-1.5.0
Resolution: Fixed
658ad63 in main
> Event UID field is missing the first time that an event is consumed
> -------------------------------------------------------------------
>
> Key: FLINK-31716
> URL: https://issues.apache.org/jira/browse/FLINK-31716
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Reporter: Rodrigo Meneses
> Assignee: Rodrigo Meneses
> Priority: Major
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.5.0
>
>
> on `EventUtils.createOrUpdateEvent` we use a `Consumer<Event>` instance to `accept` the underlying event that is being created or updated.
> The first time an event is created, we are calling `client.resource(event).createOrReplace()` but we are discarding the return value of such method, and we are returning the `event` that we just created, which has an empty UID field.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)