public abstract class AvroGrpcClient extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
create(io.grpc.Channel channel,
Class<T> iface)
Creates a gRPC client for Avro's interface with default
CallOptions. |
static <T> T |
create(io.grpc.Channel channel,
Class<T> iface,
io.grpc.CallOptions callOptions)
Creates a gRPC client for Avro's interface with provided
CallOptions. |
public static <T> T create(io.grpc.Channel channel,
Class<T> iface)
CallOptions.T - type of Avro Interface.channel - the channel used for gRPC ClientCalls.iface - Avro interface for which client is built.public static <T> T create(io.grpc.Channel channel,
Class<T> iface,
io.grpc.CallOptions callOptions)
CallOptions.T - type of Avro Interface.channel - the channel used for gRPC ClientCalls.iface - Avro interface for which client is built.callOptions - client call options for gRPC.Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.