walkinggo commented on code in PR #23811:
URL: https://github.com/apache/pulsar/pull/23811#discussion_r1924819845


##########
pulsar-broker/src/test/java/org/apache/pulsar/io/PulsarFunctionE2ETest.java:
##########
@@ -93,6 +95,8 @@ protected static FunctionConfig createFunctionConfig(String 
tenant, String names
         functionConfig.setAutoAck(true);
         if (!isBuiltin) {
             
functionConfig.setClassName("org.apache.pulsar.functions.api.examples.ExclamationFunction");
+        } else {
+            functionConfig.setClassName(functionName);

Review Comment:
   I added this line to modify the internal function name so that I could use 
the `SpendTimeFunction` method in the test cases. However, I plan to remove 
this method and use 
`org.apache.pulsar.functions.api.examples.JavaNativeAsyncExclamationFunction` 
instead. Therefore, I will revert this modification.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to