NIFI-4584: Added @EventDriven to InvokeGRPC

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #2265.
This commit is contained in:
m-hogue 2017-11-10 09:16:11 -05:00 committed by Pierre Villard
parent 8f2501ffac
commit 020f9d0596
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ package org.apache.nifi.processors.grpc;
import com.google.protobuf.ByteString;
import org.apache.commons.lang3.StringUtils;
import org.apache.nifi.annotation.behavior.EventDriven;
import org.apache.nifi.annotation.behavior.InputRequirement;
import org.apache.nifi.annotation.behavior.SupportsBatching;
import org.apache.nifi.annotation.behavior.WritesAttribute;
@ -63,6 +64,7 @@ import io.grpc.netty.GrpcSslContexts;
import io.grpc.netty.NettyChannelBuilder;
import io.netty.handler.ssl.SslContextBuilder;
@EventDriven
@SupportsBatching
@Tags({"grpc", "rpc", "client"})
@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED)