pulsar-client-cpp
TableViewConfiguration.h
1 
19 #ifndef PULSAR_TABLEVIEW_CONFIGURATION_H_
20 #define PULSAR_TABLEVIEW_CONFIGURATION_H_
21 
22 #include <pulsar/Schema.h>
23 #include <pulsar/defines.h>
24 
25 namespace pulsar {
26 
28  // Declare the schema of the data that this table view will be accepting.
29  // The schema will be checked against the schema of the topic, and the
30  // table view creation will fail if it's not compatible.
31  SchemaInfo schemaInfo;
32  // The name of the subscription to the topic. Default value is reader-{random string}.
33  std::string subscriptionName;
34 };
35 } // namespace pulsar
36 #endif /* PULSAR_TABLEVIEW_CONFIGURATION_H_ */
pulsar::SchemaInfo
Definition: Schema.h:146
pulsar
Definition: Authentication.h:31
pulsar::TableViewConfiguration
Definition: TableViewConfiguration.h:27