Get desktop application:
View/edit binary Protocol Buffers messages
`AgentRuntime` is the service that provides the ability to invoke an agent.
InvokeAgentRequest is the request message for the `InvokeAgent` method.
InvokeAgentResponse is the response message for the `InvokeAgent` method.
BatchInput is an interface implemented by Benthos inputs that produce messages in batches, where there is a desire to process and send the batch as a logical group rather than as individual messages. Calls to ReadBatch should block until either a message batch is ready to process, the connection is lost, or the RPC deadline is reached.
Acknowledge a message batch. This function ensures that the source of the message receives either an acknowledgement (error is missing) or an error that can either be propagated upstream as a nack, or trigger a reattempt at delivering the same message. If your input implementation doesn't have a specific mechanism for dealing with a nack then you can wrap your input implementation with AutoRetryNacks to get automatic retries, and noop this function.
The ID of the batch.
If present, then this is a nack request. If auto_replay_nacks is enabled in the InitResponse, then this should never be present.
If present, then this ack/nack request failed.
Close the component, blocks until either the underlying resources are cleaned up or the RPC deadline is reached.
(message has no fields)
If present, then the close attempt failed.
Establish a connection to the upstream service. Connect will always be called first when a reader is instantiated, and will be continuously called with back off until a nil error is returned. Once Connect returns a nil error the Read method will be called until either ErrNotConnected is returned, or the reader is closed.
(message has no fields)
If present, then the connect attempt failed.
Init is the first method called for a batch input and it passes the user's configuration to the input. The schema for the input configuration is specified in the `plugin.yaml` file provided to Redpanda Connect.
The parsed configuration from the user based on the registered schema in `plugin.yaml`.
If present, then the input configuration is invalid and an error should be surfaced at pipeline construction time.
If true, then any nacks are automatically retried. This is useful for inputs that don't have a mechanism for dealing with nacks, and want to just automatically retry them until they succeed.
Read a message batch from a source, along with a function to be called once the entire batch can be either acked (successfully sent or intentionally filtered) or nacked (failed to be processed or dispatched to the output). The Ack will be called for every message batch at least once, but there are no guarantees as to when this will occur. If your input implementation doesn't have a specific mechanism for dealing with a nack then you can instruct the Connect framework to auto_replay_nacks in the InitResponse to get automatic retries. If this method returns Error.NotConnected then ReadBatch will not be called again until Connect has returned a nil error. If Error.EndOfInput is returned then Read will no longer be called and the pipeline will gracefully terminate.
(message has no fields)
The ID of the batch, which is used in the ack request to identify the batch used. These IDs are opaque to the connect framework but IDs should be unique per process.
The batch of messages to be processed.
If present, then there was an error reading messages.
BatchOutput is an interface implemented by Benthos outputs that require Benthos to batch messages before dispatch in order to improve throughput. Each call to WriteBatch should block until either all messages in the batch have been successfully or unsuccessfully sent, or the RPC deadline is reached. Multiple write calls can be performed in parallel, and the constructor of an output must provide a MaxInFlight parameter indicating the maximum number of parallel batched write calls the output supports.
Close the component, blocks until either the underlying resources are cleaned up or the RPC deadline is reached.
(message has no fields)
If present, then the close attempt failed.
Establish a connection to the downstream service. Connect will always be called first when a writer is instantiated, and will be continuously called with back off until a nil error is returned. Once Connect returns a nil error the write method will be called until either Error.NotConnected is returned, or the writer is closed.
(message has no fields)
If present, then the connect attempt failed.
Init is the first method called for a batch output and it passes the user's configuration to the output. The schema for the output configuration is specified in the `plugin.yaml` file provided to Redpanda Connect.
The parsed configuration from the user based on the register schema in `plugin.yaml`.
If present, then the input configuration is invalid and an error should be surfaced at pipeline construction time.
The maximum number of write calls can be performed in parallel. Must be > 0.
The batching policy for messages sent to this output. If omitted then no additional batching will be performed on top of the batches that already exist in the pipeline.
Write a batch of messages to a sink, or return an error if delivery is not possible. If this method returns Error.NotConnected then write will not be called again until Connect has returned a nil error.
The batch of messages to send to the output
If present, then the send attempt failed.
BatchProcessor is a Benthos processor implementation that works against batches of messages, which allows windowed processing. Message batches must be created by upstream components (inputs, buffers, etc) otherwise this processor will simply receive batches containing single messages.
Close the component, blocks until either the underlying resources are cleaned up or the RPC deadline is reached.
(message has no fields)
If present, then the close attempt failed.
Init is the first method called for a batch processor and it passes the user's configuration to the input. The schema for the processor configuration is specified in the `plugin.yaml` file provided to Redpanda Connect.
If present, then the input configuration is invalid and an error should be surfaced at pipeline construction time.
Process a batch of messages into one or more resulting batches, or return an error if the entire batch could not be processed. If zero messages are returned and the error is nil then all messages are filtered. The provided MessageBatch should NOT be modified, in order to return a mutated batch a copy of the slice should be created instead. When an error is returned all of the input messages will continue down the pipeline but will be marked with the error with *message.SetError, and metrics and logs will be emitted. In order to add errors to individual messages of the batch for downstream handling use message.SetError(err) and return it in the resulting batch with a nil error. The Message types returned MUST be derived from the provided messages, and CANNOT be custom instantiations of Message. In order to copy the provided messages use the Copy method.
The input batch to the processor.
The resulting batch of messages. Returning multiple batches allows for splitting a single batch into multiple batches.
If present, then the processing failed.
BatchPolicy describes the mechanisms by which batching should be performed of messages destined for a Batch output. This is returned by Init RPC of batch outputs.
Used in:
An error in the context of a data pipeline.
Used in: , , , , , , , , , , , , ,
The error message. If non empty, then the error is valid and if empty the error is ignored as if a success (due to proto3 empty semantics).
Additional error details for specific Redpanda Connect behavior. If one of these fields is set, then message must be non-empty.
BackOff is an error that plugins can optionally wrap another error with which instructs upstream components to wait for a specified period of time before retrying the errored call. Only supported by Connect methods in the Input and Output services.
EndOfInput is returned by inputs that have exhausted their source of data to the point where subsequent Read calls will be ineffective. This error prompts the upstream component to gracefully terminate the pipeline.
Used in:
(message has no fields)
NotConnected is returned by inputs and outputs when their Read or Write methods are called and the connection that they maintain is lost. This error prompts the upstream component to call Connect until the connection is re-established.
Used in:
(message has no fields)
`ListValue` represents a list value which can be used to represent a list of values.
Used in:
Message represents a piece of data or an event that flows through the runtime.
Used in: , ,
Used in: , , ,
`NullValue` is a representation of a null value.
Used in:
Used in:
`StructValue` represents a struct value which can be used to represent a structured data value.
Used in: ,
Used in:
Used in:
`Value` represents a dynamically typed value which can be used to represent a value within a Redpanda Connect pipeline.
Used in: , , , , , ,