Skip to content

[Bug]: kafka event header getters not complete implemented under go runtime #3744

@LaysDragon

Description

@LaysDragon

Nuclio Version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of Nuclio.

Issue Description

The kafka.Event only implement GetHeaders ,GetHeader. And everything else (GetHeaderByteSlice,GetHeadeString GetHeaderInt) goes to empty basic implement nuclio.AbstractEvent that return empty value.

Expected Behavior

It should return value from existed header data.

Deployment Method

Docker

Nuclio Version

1.14.1

Additional Information

Also its kind surprising behavior and design to void any unimplemented/new feature as default, if user doesn't look into base code no one would know what actually going on, and maintainer won't even notice there existed the new method not even implemented. :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    goPull requests that update Go coderuntime/golang

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions