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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoIncludedColumnPos {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(uint64, tag="2")]
    pub pos: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKafkaSourceConnector {
    #[prost(message, optional, tag="1")]
    pub addrs: ::core::option::Option<::mz_kafka_util::ProtoKafkaAddrs>,
    #[prost(string, tag="2")]
    pub topic: ::prost::alloc::string::String,
    #[prost(map="string, string", tag="3")]
    pub config_options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    #[prost(map="int32, int64", tag="4")]
    pub start_offsets: ::std::collections::HashMap<i32, i64>,
    #[prost(string, optional, tag="5")]
    pub group_id_prefix: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag="6")]
    pub cluster_id: ::core::option::Option<::mz_repr::proto::ProtoU128>,
    #[prost(message, optional, tag="7")]
    pub include_timestamp: ::core::option::Option<ProtoIncludedColumnPos>,
    #[prost(message, optional, tag="8")]
    pub include_partition: ::core::option::Option<ProtoIncludedColumnPos>,
    #[prost(message, optional, tag="9")]
    pub include_topic: ::core::option::Option<ProtoIncludedColumnPos>,
    #[prost(message, optional, tag="10")]
    pub include_offset: ::core::option::Option<ProtoIncludedColumnPos>,
    #[prost(message, optional, tag="11")]
    pub include_headers: ::core::option::Option<ProtoIncludedColumnPos>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoExternalSourceConnector {
    #[prost(oneof="proto_external_source_connector::Kind", tags="1, 2, 3, 4, 5, 6")]
    pub kind: ::core::option::Option<proto_external_source_connector::Kind>,
}
/// Nested message and enum types in `ProtoExternalSourceConnector`.
pub mod proto_external_source_connector {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag="1")]
        Kafka(super::ProtoKafkaSourceConnector),
        #[prost(message, tag="2")]
        Kinesis(super::ProtoKinesisSourceConnector),
        #[prost(message, tag="3")]
        S3(super::ProtoS3SourceConnector),
        #[prost(message, tag="4")]
        Postgres(super::ProtoPostgresSourceConnector),
        #[prost(message, tag="5")]
        Pubnub(super::ProtoPubNubSourceConnector),
        #[prost(message, tag="6")]
        Persist(super::ProtoPersistSourceConnector),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceData {
    #[prost(oneof="proto_source_data::Kind", tags="1, 2")]
    pub kind: ::core::option::Option<proto_source_data::Kind>,
}
/// Nested message and enum types in `ProtoSourceData`.
pub mod proto_source_data {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag="1")]
        Ok(::mz_repr::ProtoRow),
        #[prost(message, tag="2")]
        Err(super::super::super::errors::ProtoDataflowError),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKinesisSourceConnector {
    #[prost(string, tag="1")]
    pub stream_name: ::prost::alloc::string::String,
    #[prost(message, optional, tag="2")]
    pub aws: ::core::option::Option<super::aws::ProtoAwsConfig>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPostgresSourceConnector {
    #[prost(string, tag="1")]
    pub conn: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub publication: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub slot_name: ::prost::alloc::string::String,
    #[prost(message, optional, tag="4")]
    pub details: ::core::option::Option<super::super::postgres_source::PostgresSourceDetails>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPubNubSourceConnector {
    #[prost(string, tag="1")]
    pub subscribe_key: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub channel: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPersistSourceConnector {
    #[prost(string, tag="1")]
    pub consensus_uri: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub blob_uri: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub shard_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoS3SourceConnector {
    #[prost(message, repeated, tag="1")]
    pub key_sources: ::prost::alloc::vec::Vec<ProtoS3KeySource>,
    #[prost(string, optional, tag="2")]
    pub pattern: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag="3")]
    pub aws: ::core::option::Option<super::aws::ProtoAwsConfig>,
    #[prost(message, optional, tag="4")]
    pub compression: ::core::option::Option<ProtoCompression>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoS3KeySource {
    #[prost(oneof="proto_s3_key_source::Kind", tags="1, 2")]
    pub kind: ::core::option::Option<proto_s3_key_source::Kind>,
}
/// Nested message and enum types in `ProtoS3KeySource`.
pub mod proto_s3_key_source {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(string, tag="1")]
        Scan(::prost::alloc::string::String),
        #[prost(string, tag="2")]
        SqsNotifications(::prost::alloc::string::String),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCompression {
    #[prost(oneof="proto_compression::Kind", tags="1, 2")]
    pub kind: ::core::option::Option<proto_compression::Kind>,
}
/// Nested message and enum types in `ProtoCompression`.
pub mod proto_compression {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag="1")]
        Gzip(()),
        #[prost(message, tag="2")]
        None(()),
    }
}