JobsProviderFollowResponse

API: Stable

A message emitted by the Provider in a follow session

data class JobsProviderFollowResponse(
    val streamId: String,
    val rank: Int,
    val stdout: String?,
    val stderr: String?,
)
Properties
streamId: String A unique ID for this follow session, the same identifier should be used for the entire session

We recommend that Providers generate a UUID or similar for this ID.

rank: Int The rank of the node (0-indexed)

Valid values range from 0 (inclusive) until specification.replicas (exclusive)

stdout: String? New messages from stdout (if any)

The bytes from stdout, of the running process, should be interpreted as UTF-8. If the stream contains invalid bytes then these should be ignored and skipped.

See https://linux.die.net/man/3/stdout for more information.

stderr: String? New messages from stderr (if any)

The bytes from stdout, of the running process, should be interpreted as UTF-8. If the stream contains invalid bytes then these should be ignored and skipped.

See https://linux.die.net/man/3/stderr for more information.