You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Rodrigo Meneses (Jira)" <ji...@apache.org> on 2023/04/03 18:09:00 UTC

[jira] [Created] (FLINK-31716) Event UID field is missing the first time that an event is consumed

Rodrigo Meneses created FLINK-31716:
---------------------------------------

             Summary: 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


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)