microsoft / azure-spring-boot

Spring Boot Starters for Azure services
MIT License
374 stars 460 forks source link

downloads only 4mb file while the original file size is 200mb #883

Closed anuragmishraiiitm closed 3 years ago

anuragmishraiiitm commented 4 years ago

https://github.com/microsoft/azure-spring-boot/blob/7a2cb9647fd2c5f3d45bee5faa55291a5231a066/azure-spring-boot-samples/azure-storage-spring-boot-sample/src/main/java/sample/storage/StorageService.java#L48

yiliuTo commented 4 years ago

Thanks for reaching out. Is there any error log info? Or the code runs normally but the downloading content is different from its original file?

yiliuTo commented 4 years ago

Hi, the azure-storage-blob dependency that this azure-storage-spring-boot-starter refers to is too old and there would be some bugs then. You can update it to a higher version to see if the problem still exists, for example, add the following dependency in pom.xml :

  <groupId>com.azure</groupId>
  <artifactId>azure-storage-blob</artifactId>
  <version>12.6.0</version>  

chenrujun commented 3 years ago

Closing this issue. Because it's not active for a long time. If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues