Skip to main content

await_glue_schema_version_available

Function await_glue_schema_version_available 

Source
async fn await_glue_schema_version_available(
    client: &Client,
    registered: RegisteredSchemaVersion,
) -> Result<Uuid, Error>
Expand description

Wait until Glue reports the schema version registered as Available, returning its id.

Glue runs compatibility checks asynchronously: a freshly registered version is Pending and only later transitions to Available or Failure. Records must not be framed with a version id until it is Available, otherwise a version that fails its check leaves the topic holding ids that consumers cannot resolve. Errors if the version resolves to Failure or Deleting, or does not become Available within the polling deadline.