pub trait DirectNominalChannelWriterService {
// Required method
fn write_batches(
&self,
auth_: BearerToken,
request: WriteBatchesRequest,
) -> Result<(), Error>;
}
Expand description
Writes data points directly to Nominal’s managed database offering.
Required Methods§
Sourcefn write_batches(
&self,
auth_: BearerToken,
request: WriteBatchesRequest,
) -> Result<(), Error>
fn write_batches( &self, auth_: BearerToken, request: WriteBatchesRequest, ) -> Result<(), Error>
Synchronously writes batches of records to a Nominal data source. This endpoint bypasses the Channel Writer service entirely, and should only be used if the implications are well understood.
If you call this endpoint, writes will go directly into Nominal DB and will not be placed in Nominal’s durable queue. This results in lower latency, but also consequently lower durability.