Lijuan Hou
09/07/2023, 1:51 AMBhupendra Yadav
09/07/2023, 3:45 AMLijuan Hou
09/07/2023, 3:58 PMAvroInputFormat :
String s3Path =
"s3://...";
AvroInputFormat<CustomerSession> avroInputFormat =
new AvroInputFormat<>(new Path(s3Path), CustomerSession.class);
TypeInformation<CustomerSession> typeInfo = TypeInformation.of(CustomerSession.class);
DataStream<CustomerSession> datastream = env.createInput(avroInputFormat, typeInfo);Lijuan Hou
09/07/2023, 3:59 PM