eolivelli commented on a change in pull request #9131:
URL: https://github.com/apache/pulsar/pull/9131#discussion_r553194788
##########
File path:
pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/SinksImpl.java
##########
@@ -232,6 +233,10 @@ public void createSink(SinkConfig sinkConfig, String
fileName) throws PulsarAdmi
@Override
public CompletableFuture<Void> createSinkAsync(SinkConfig sinkConfig,
String fileName) {
final CompletableFuture<Void> future = new CompletableFuture<>();
+ if (StringUtils.isBlank(sinkConfig.getName())) {
Review comment:
@sijie I have added validation for all of the methods in SinksImpl for
sinkname, namespace and tenant.
PTAL
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]