tuteng commented on a change in pull request #14044:
URL: https://github.com/apache/pulsar/pull/14044#discussion_r798613918
##########
File path:
pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java
##########
@@ -144,13 +158,34 @@ void uploadFunction(final InputStream uploadedInputStream,
StreamingOutput downloadFunction(String path,
String clientRole,
- AuthenticationDataHttps
clientAuthenticationDataHttps);
+ final AuthenticationDataSource
clientAuthenticationDataHttps);
+
+ @Deprecated
+ default StreamingOutput downloadFunction(String path,
Review comment:
Set this method to deprecated state for backward compatibility
##########
File path:
pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java
##########
@@ -43,7 +43,21 @@ void deregisterFunction(final String tenant,
final String namespace,
final String componentName,
final String clientRole,
- AuthenticationDataHttps
clientAuthenticationDataHttps);
+ AuthenticationDataSource
clientAuthenticationDataHttps);
+
+ @Deprecated
+ default void deregisterFunction(final String tenant,
Review comment:
Set this method to deprecated state for backward compatibility
--
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]