public static class ThinkingDataAnalytics.BatchConsumer.Config extends Object
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBatchSize(Integer batchSize) |
void |
setCompress(String compress) |
void |
setInterval(Integer interval) |
void |
setTimeout(int timeout) |
public void setBatchSize(Integer batchSize)
batchSize - BatchConsumer的flush条数,缓存数目public void setInterval(Integer interval)
interval - 发送间隔,单位秒public void setCompress(String compress)
compress - BatchConsumer的压缩方式public void setTimeout(int timeout)
Copyright © 2020. All rights reserved.