Golang instance of functions missing many fields of the FunctionDetails
#22349
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
Motivation
the Go instance is assembling the
FunctionDetails
manullay:Which makes it missed many fields of the
FunctionDetails
, such as thesink.ProducerSpec
,runtimeFlags
, and so on, and if theFunctionDetails
struct has some updates of fields, we have to modify this code to adapt the change, which is quite inflexibleSolution
We can pass the
FunctionDetails
string to Go instance directly, and "unmarshal" it to theFunctionDetails
struct directly instead of create it manuallyAlternatives
No response
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: