接口的使用
org.apache.pulsar.client.api.TableViewBuilder
使用TableViewBuilder的程序包
-
org.apache.pulsar.client.api中TableViewBuilder的使用
修饰符和类型方法说明TableViewBuilder.autoUpdatePartitionsInterval
(int interval, TimeUnit unit) Set the interval of updating partitions (default: 1 minute).Load the configuration from provided config map.<T> TableViewBuilder<T>
PulsarClient.newTableViewBuilder
(Schema<T> schema) Create a table view builder with a specific schema for subscribing on a specific topic.Set the topic name of theTableView
.