1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoStorageSinkDesc {
#[prost(message, optional, tag = "1")]
pub from: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub from_desc: ::core::option::Option<::mz_repr::ProtoRelationDesc>,
#[prost(message, optional, tag = "3")]
pub connection: ::core::option::Option<ProtoStorageSinkConnection>,
#[prost(message, optional, tag = "4")]
pub envelope: ::core::option::Option<ProtoSinkEnvelope>,
#[prost(message, optional, tag = "5")]
pub as_of: ::core::option::Option<ProtoSinkAsOf>,
#[prost(message, optional, tag = "6")]
pub from_storage_metadata: ::core::option::Option<
super::super::controller::ProtoCollectionMetadata,
>,
#[prost(string, optional, tag = "7")]
pub status_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSinkEnvelope {
#[prost(oneof = "proto_sink_envelope::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_sink_envelope::Kind>,
}
pub mod proto_sink_envelope {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Debezium(()),
#[prost(message, tag = "2")]
Upsert(()),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoStorageSinkConnection {
#[prost(oneof = "proto_storage_sink_connection::Kind", tags = "1")]
pub kind: ::core::option::Option<proto_storage_sink_connection::Kind>,
}
pub mod proto_storage_sink_connection {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Kafka(super::ProtoKafkaSinkConnection),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKafkaSinkProgressConnection {
#[prost(string, tag = "1")]
pub topic: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSinkAsOf {
#[prost(message, optional, tag = "1")]
pub frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
#[prost(bool, tag = "2")]
pub strict: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKafkaSinkConnection {
#[prost(message, optional, tag = "13")]
pub connection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "1")]
pub connection: ::core::option::Option<super::connections::ProtoKafkaConnection>,
#[prost(string, tag = "2")]
pub topic: ::prost::alloc::string::String,
#[prost(message, optional, tag = "4")]
pub key_desc_and_indices: ::core::option::Option<
proto_kafka_sink_connection::ProtoKeyDescAndIndices,
>,
#[prost(message, optional, tag = "5")]
pub relation_key_indices: ::core::option::Option<
proto_kafka_sink_connection::ProtoRelationKeyIndicesVec,
>,
#[prost(message, optional, tag = "6")]
pub value_desc: ::core::option::Option<::mz_repr::ProtoRelationDesc>,
#[prost(message, optional, tag = "7")]
pub published_schema_info: ::core::option::Option<ProtoPublishedSchemaInfo>,
#[prost(message, optional, tag = "8")]
pub progress: ::core::option::Option<ProtoKafkaSinkProgressConnection>,
#[prost(uint64, tag = "11")]
pub fuel: u64,
}
pub mod proto_kafka_sink_connection {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKeyDescAndIndices {
#[prost(message, optional, tag = "1")]
pub desc: ::core::option::Option<::mz_repr::ProtoRelationDesc>,
#[prost(uint64, repeated, tag = "2")]
pub indices: ::prost::alloc::vec::Vec<u64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRelationKeyIndicesVec {
#[prost(uint64, repeated, tag = "1")]
pub relation_key_indices: ::prost::alloc::vec::Vec<u64>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPublishedSchemaInfo {
#[prost(int32, optional, tag = "1")]
pub key_schema_id: ::core::option::Option<i32>,
#[prost(int32, tag = "2")]
pub value_schema_id: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPersistSinkConnection {
#[prost(message, optional, tag = "1")]
pub value_desc: ::core::option::Option<::mz_repr::ProtoRelationDesc>,
#[prost(message, optional, tag = "2")]
pub storage_metadata: ::core::option::Option<
super::super::controller::ProtoCollectionMetadata,
>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoDurableExportMetadata {
#[prost(message, optional, tag = "1")]
pub initial_as_of: ::core::option::Option<ProtoSinkAsOf>,
}