Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrStreamRestarting = status.Error(codes.Aborted, "stream is restarting")
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is 1:1 with exporter, isolates arrow-specific functionality.
func NewExporter ¶
func NewExporter( numStreams int, disableDowngrade bool, telemetry component.TelemetrySettings, grpcOptions []grpc.CallOption, newProducer func() arrowRecord.ProducerAPI, client arrowpb.ArrowStreamServiceClient, perRPCCredentials credentials.PerRPCCredentials, ) *Exporter
NewExporter configures a new Exporter.
func (*Exporter) SendAndWait ¶
SendAndWait tries to send using an Arrow stream. The results are:
(true, nil): Arrow send: success at consumer (false, nil): Arrow is not supported by the server, caller expected to fallback. (true, non-nil): Arrow send: server response may be permanent or allow retry. (false, non-nil): Context timeout prevents retry.
consumer should fall back to standard OTLP, (true, nil)
Click to show internal directories.
Click to hide internal directories.