### Motivation Currently the cli does all the validation(about types, etc) before submitting to the worker, which does very little validation. This is problematic when clients other than pulsar cli are used to submit functions. The current function submission also suffers from poor abstraction. The main abstraction for the cli is the FunctionConfig interface, while for the rest interface its the FunctionDetails protobuf. This pr is the first step in removing both of the above issues. In this pr, we allow users to specify a json version of the FunctionConfig and do validation on it. The current cli still uses the old style, we will change those in later prs.
### Modifications Describe the modifications you've done. ### Result After your change, what will change. [ Full content available at: https://github.com/apache/pulsar/pull/2701 ] This message was relayed via gitbox.apache.org for [email protected]
