Skip to main content

Constants for the fields of the /alter/tablemonitor request.

Option fields

monitor_updates_map

Constants for monitor_updates_map.

pub const MAX_CONSECUTIVE_FAILURES: &str = “max_consecutive_failures”;

Updates the maximum number of consecutive failures before suspending the stream. A value of ‘-1’ to disables auto-suspend. This value is by rank and not overall.

pub const NOTIFICATIONS: &str = “notifications”;

Updates the state of the monitor.

pub const RESUME: &str = “resume”;
pub const SCHEMA_NAME: &str = “schema_name”;

Updates the schema name. If schema_name doesn’t exist, an error will be thrown. If schema_name is empty, then the user’s default schema will be used.

pub const SUSPEND: &str = “suspend”;