private static Schema getPangoolTweetSchema() {
Field tweetIdField = Field.create("tweet_id",Schema.Field.Type.INT);
Field tweetHashTags = Field.createObject("tweet_hashtags",Array.class);
tweetHashTags.setObjectSerialization(AvroFieldSerialization.class);
tweetHashTags.addProp("avro.schema",getAvroStringArraySchema().toString());
return new Schema("tweet",Arrays.asList(tweetIdField,tweetHashTags));
}
private static Schema getPangoolRetweetSchema(){
Field userId = Field.create("username",Schema.Field.Type.STRING);