pub struct EditKafkaTrigger {Show 14 fields
pub kafka_resource_path: String,
pub group_id: String,
pub topics: Vec<String>,
pub filters: Vec<NewWebsocketTriggerFiltersInner>,
pub auto_offset_reset: Option<AutoOffsetReset>,
pub auto_commit: Option<bool>,
pub path: String,
pub script_path: String,
pub is_flow: bool,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
pub permissioned_as: Option<String>,
pub preserve_permissioned_as: Option<bool>,
}Fields§
§kafka_resource_path: StringPath to the Kafka resource containing connection configuration
group_id: StringKafka consumer group ID for this trigger
topics: Vec<String>Array of Kafka topic names to subscribe to
filters: Vec<NewWebsocketTriggerFiltersInner>§auto_offset_reset: Option<AutoOffsetReset>Initial offset behavior when consumer group has no committed offset.
auto_commit: Option<bool>When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.
path: StringThe unique path identifier for this trigger
script_path: StringPath to the script or flow to execute when a message is received
is_flow: boolTrue if script_path points to a flow, false if it points to a script
error_handler_path: Option<String>Path to a script or flow to run when the triggered job fails
error_handler_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
retry: Option<Box<Retry>>§permissioned_as: Option<String>The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
preserve_permissioned_as: Option<bool>When true and the caller is a member of the ‘wm_deployers’ group, preserves the original permissioned_as value instead of overwriting it.
Implementations§
Trait Implementations§
Source§impl Clone for EditKafkaTrigger
impl Clone for EditKafkaTrigger
Source§fn clone(&self) -> EditKafkaTrigger
fn clone(&self) -> EditKafkaTrigger
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more