Struct Atof Stream Sink Section Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct AtofStreamSinkSectionConfig {
    pub url: String,
    pub transport: String,
    pub headers: HashMap<String, String>,
    pub header_env: HashMap<String, String>,
    pub timeout_millis: u64,
    pub field_name_policy: String,
    pub name: Option<String>,
}

Stream sink settings for the ATOF plugin section.

Fields

url: String

Endpoint URL.

transport: String

Transport: http_post, websocket, or ndjson.

headers: HashMap<String, String>

Headers applied to endpoint requests or handshakes.

header_env: HashMap<String, String>

Header names mapped to environment variables containing their values.

timeout_millis: u64

Per-endpoint timeout in milliseconds.

field_name_policy: String

Field name policy applied before sending events: preserve or replace_dots.

name: Option<String>

Optional stable name used by other components to reference this endpoint.

Trait Implementations

impl Clone for AtofStreamSinkSectionConfig

impl Clone for AtofStreamSinkSectionConfig

clone

fn clone(&self) -> AtofStreamSinkSectionConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AtofStreamSinkSectionConfig

impl Debug for AtofStreamSinkSectionConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for AtofStreamSinkSectionConfig

impl<'de> Deserialize<'de> for AtofStreamSinkSectionConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl EditorConfig for AtofStreamSinkSectionConfig

impl EditorConfig for AtofStreamSinkSectionConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AtofStreamSinkSectionConfig

impl Serialize for AtofStreamSinkSectionConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,