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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSinkDesc {
    #[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<ProtoSinkConnection>,
    #[prost(message, optional, tag="4")]
    pub envelope: ::core::option::Option<ProtoSinkEnvelope>,
    #[prost(message, optional, tag="5")]
    pub as_of: ::core::option::Option<ProtoSinkAsOf>,
}
#[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>,
}
/// Nested message and enum types in `ProtoSinkEnvelope`.
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 ProtoSinkConnection {
    #[prost(oneof="proto_sink_connection::Kind", tags="1, 2, 3")]
    pub kind: ::core::option::Option<proto_sink_connection::Kind>,
}
/// Nested message and enum types in `ProtoSinkConnection`.
pub mod proto_sink_connection {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag="1")]
        Kafka(super::ProtoKafkaSinkConnection),
        #[prost(message, tag="2")]
        Tail(()),
        #[prost(message, tag="3")]
        Persist(super::ProtoPersistSinkConnection),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKafkaSinkConsistencyConnection {
    #[prost(string, tag="1")]
    pub topic: ::prost::alloc::string::String,
    #[prost(int32, tag="2")]
    pub schema_id: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSinkAsOf {
    #[prost(message, optional, tag="1")]
    pub frontier: ::core::option::Option<::mz_persist::gen::persist::ProtoU64Antichain>,
    #[prost(bool, tag="2")]
    pub strict: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKafkaSinkConnection {
    #[prost(message, optional, tag="1")]
    pub connection: ::core::option::Option<super::connections::ProtoKafkaConnection>,
    #[prost(string, tag="2")]
    pub topic: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub topic_prefix: ::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 consistency: ::core::option::Option<ProtoKafkaSinkConsistencyConnection>,
    #[prost(bool, tag="9")]
    pub exactly_once: bool,
    #[prost(message, repeated, tag="10")]
    pub transitive_source_dependencies: ::prost::alloc::vec::Vec<::mz_repr::global_id::ProtoGlobalId>,
    #[prost(uint64, tag="11")]
    pub fuel: u64,
    #[prost(map="string, message", tag="12")]
    pub options: ::std::collections::HashMap<::prost::alloc::string::String, super::connections::ProtoStringOrSecret>,
}
/// Nested message and enum types in `ProtoKafkaSinkConnection`.
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::client::controller::storage::ProtoCollectionMetadata>,
}