pub struct OutputDistributionCertificate {
pub version: u16,
pub protocol_version: SubscriptionProtocolVersion,
pub stream_id: String,
pub catalog_generation: u64,
pub stream_generation: StreamGeneration,
pub final_operator_id: String,
pub distribution: OutputDistribution,
pub schema_fingerprint: SubscriptionDigest,
pub changelog_mode: ChangelogMode,
pub history_retention_bytes: u64,
pub query_fingerprint: SubscriptionDigest,
pub pipeline_identity: PipelineIdentity,
}Expand description
Planner proof that a final operator has a stable, recoverable output distribution.
Fields§
§version: u16Exact certificate envelope format.
protocol_version: SubscriptionProtocolVersionSubscription protocol used by the output.
stream_id: StringCanonical catalog stream name.
catalog_generation: u64Monotonic durable catalog incarnation.
stream_generation: StreamGenerationDerived durable incarnation identity.
final_operator_id: StringStable final graph operator identity.
distribution: OutputDistributionCertified output-to-partition mapping.
schema_fingerprint: SubscriptionDigestFingerprint of the unchanged user output schema.
changelog_mode: ChangelogModeChangelog representation emitted by the final operator.
history_retention_bytes: u64Maximum committed output bytes retained for epoch replay; zero admits tail only.
query_fingerprint: SubscriptionDigestCanonical query fingerprint.
pipeline_identity: PipelineIdentityComplete pipeline/state ABI identity.
Implementations§
Source§impl OutputDistributionCertificate
impl OutputDistributionCertificate
Sourcepub fn validate(
&self,
key_group_count: KeyGroupCount,
) -> Result<(), SubscriptionContractError>
pub fn validate( &self, key_group_count: KeyGroupCount, ) -> Result<(), SubscriptionContractError>
Validate the canonical certificate and all external bindings.
§Errors
Returns the first non-canonical or mismatched durable binding.
Sourcepub fn require_match(
&self,
expected: &Self,
) -> Result<(), SubscriptionContractError>
pub fn require_match( &self, expected: &Self, ) -> Result<(), SubscriptionContractError>
Validate exact equality with the certificate selected by the current planner.
§Errors
Returns a certificate mismatch when any durable binding differs.
Sourcepub fn certifies_keyed_aggregate(&self) -> bool
pub fn certifies_keyed_aggregate(&self) -> bool
Whether this certificate represents the initial externally admitted stream class.
Trait Implementations§
Source§impl Clone for OutputDistributionCertificate
impl Clone for OutputDistributionCertificate
Source§fn clone(&self) -> OutputDistributionCertificate
fn clone(&self) -> OutputDistributionCertificate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for OutputDistributionCertificate
impl<'de> Deserialize<'de> for OutputDistributionCertificate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for OutputDistributionCertificate
impl StructuralPartialEq for OutputDistributionCertificate
Auto Trait Implementations§
impl Freeze for OutputDistributionCertificate
impl RefUnwindSafe for OutputDistributionCertificate
impl Send for OutputDistributionCertificate
impl Sync for OutputDistributionCertificate
impl Unpin for OutputDistributionCertificate
impl UnsafeUnpin for OutputDistributionCertificate
impl UnwindSafe for OutputDistributionCertificate
Blanket Implementations§
impl<T> Allocation for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].