pub struct HttpOutputConfig {
pub backpressure: bool,
}Expand description
Configuration for data output via HTTP.
HTTP output adapters cannot be usefully configured as part of pipeline
configuration. Instead, instantiate them through the REST API as
/pipelines/{pipeline_name}/egress.
Fields§
§backpressure: boolApply backpressure on the pipeline when the HTTP client cannot receive data fast enough.
When this flag is set to false (the default), the HTTP connector drops data chunks if the client is not keeping up with its output. This prevents a slow HTTP client from slowing down the entire pipeline.
When the flag is set to true, the connector waits for the client to receive each chunk and blocks the pipeline if the client cannot keep up.
Trait Implementations§
Source§impl Clone for HttpOutputConfig
impl Clone for HttpOutputConfig
Source§fn clone(&self) -> HttpOutputConfig
fn clone(&self) -> HttpOutputConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpOutputConfig
impl Debug for HttpOutputConfig
Source§impl Default for HttpOutputConfig
impl Default for HttpOutputConfig
Source§fn default() -> HttpOutputConfig
fn default() -> HttpOutputConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpOutputConfigwhere
HttpOutputConfig: Default,
impl<'de> Deserialize<'de> for HttpOutputConfigwhere
HttpOutputConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpOutputConfig
impl PartialEq for HttpOutputConfig
Source§fn eq(&self, other: &HttpOutputConfig) -> bool
fn eq(&self, other: &HttpOutputConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpOutputConfig
impl Serialize for HttpOutputConfig
Source§impl<'__s> ToSchema<'__s> for HttpOutputConfig
impl<'__s> ToSchema<'__s> for HttpOutputConfig
impl Eq for HttpOutputConfig
impl StructuralPartialEq for HttpOutputConfig
Auto Trait Implementations§
impl Freeze for HttpOutputConfig
impl RefUnwindSafe for HttpOutputConfig
impl Send for HttpOutputConfig
impl Sync for HttpOutputConfig
impl Unpin for HttpOutputConfig
impl UnsafeUnpin for HttpOutputConfig
impl UnwindSafe for HttpOutputConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.