function-mesh icon indicating copy to clipboard operation
function-mesh copied to clipboard

prevent setting typeClassName to `[B` when runtime could inferring the typeClassName

Open freeznet opened this issue 3 years ago • 2 comments

https://github.com/streamnative/function-mesh/issues/131 added the inferring typeClassName feature to Pulsar Functions Java runtime, but the webhook prevents the user from providing null to typeClassName. We will need to fix it by removing the webhook Defaulter to enable the new feature for Function Mesh users.

freeznet avatar Jan 18 '23 06:01 freeznet

which version(tag) does the java runtime image introduce this feature?

we may need to keep the webhook for old image

jiangpengcheng avatar Jan 31 '23 08:01 jiangpengcheng

@jiangpengcheng I do not have the specific image tags containing the fix, but you could check https://github.com/apache/pulsar/pull/18111 and streamnative/pulsar fork

freeznet avatar Jan 31 '23 12:01 freeznet