Skip to content

Function should support Message<T> #4110

Description

@sijie

Is your feature request related to a problem? Please describe.

The message metadata is lost in source/function. People can not use these information for their computation.

Describe the solution you'd like

Similar as what was discussed in #4093, we should support using Message<T> as the input for a source or a function.

public class MessageFunction implements Function<Message<String>, String>> {
...
}

Describe alternatives you've considered

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/functiontype/featureThe PR added a new feature or issue requested a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions