动态获取schema代码更新0225

This commit is contained in:
lee
2020-02-25 14:16:16 +08:00
parent 13cae17743
commit 28e0b9e38c
14 changed files with 182 additions and 720 deletions

View File

@@ -37,6 +37,7 @@ public class CustomizedKafkaSpout extends BaseRichSpout {
props.put("max.poll.records", 3000);
props.put("max.partition.fetch.bytes", 31457280);
props.put("auto.offset.reset", FlowWriteConfig.AUTO_OFFSET_RESET);
props.put("key.deserializer", "org.apache.kafka.common.serialization.StringDeserializer");
props.put("value.deserializer", "org.apache.kafka.common.serialization.StringDeserializer");
return props;