Skip to main content

Constants for the fields of the /create/tablemonitor response.

Option fields

info

Constants for info.

pub const DELETE_TOPIC_ID: &str = “delete_topic_id”;

The topic id for ‘delete’ event in options.

pub const DELETE_TYPE_SCHEMA: &str = “delete_type_schema”;

The JSON Avro schema for ‘delete’ events.

pub const INSERT_TOPIC_ID: &str = “insert_topic_id”;

The topic id for ‘insert’ event in options.

pub const INSERT_TYPE_SCHEMA: &str = “insert_type_schema”;

The JSON Avro schema of the table in table_name.

pub const TTL: &str = “ttl”;

For insert_table/delete_table events, the ttl of the table.

pub const UPDATE_TOPIC_ID: &str = “update_topic_id”;

The topic id for ‘update’ event in options.

pub const UPDATE_TYPE_SCHEMA: &str = “update_type_schema”;

The JSON Avro schema for ‘update’ events.