You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/03 20:57:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated FLINK-31716:
-----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)