You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/10/02 22:14:49 UTC

[GitHub] srkukarni opened a new pull request #2701: Function Serverside Validation

srkukarni opened a new pull request #2701: Function Serverside Validation
URL: https://github.com/apache/pulsar/pull/2701
 
 
   ### 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.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services