Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Nuno Marujo
    @nhmarujo
    Hey everyone. Iā€™m using Spring Webflux and Iā€™m receiving a Flux<FilePart> on a REST endpoint. I would like to stream that to a bucket on Google Storage. Unfortunately Iā€™m failing to find out how. Anyone can point me in the right direction, please?
    Mike Eltsufin
    @meltsufin
    How would you write it to a plain old file?
    Nuno Marujo
    @nhmarujo
    well, for a file on the local filesystem, it has a transferTo(Path path) method
    but none that takes an Outputstream
    Mike Eltsufin
    @meltsufin
    I guess FilePart is designed just to write to local filesystem. You'd have to send the file to GCS separately after it has been written locally. Otherwise, this is really more of a question for Spring Framework Core. https://github.com/spring-projects/spring-framework/issues
    Nuno Marujo
    @nhmarujo
    I would like to just pipe each chunk directly to gcp and avoid a lot of memory consumption
    Will check. Thanks
    stevenweili
    @stevenweili
    I just reported an issue of 1.2.0.M3, project id not found while run in PCF, it works after I downgrade to 1.2.0.M2.
    spring-cloud/spring-cloud-gcp#1994
    @meltsufin can you help check?
    Mike Eltsufin
    @meltsufin
    yeah, I'll respond on the issue
    Looks like SettableApiFuture comes without a message in the exception we have just sent
    Mike Eltsufin
    @meltsufin
    It all comes down to what we get from the Pub/Sub client library.
    Artem Bilan
    @artembilan
    OK. I got. Does it bother you to answer to that SO question? Thanks
    Mike Eltsufin
    @meltsufin
    All we get is a message id, if successful, and exception if failure
    not at all
    Of course we can change change the type of the future to include the original message as well, if that's what they are asking
    Artem Bilan
    @artembilan
    right, at least into an exception part
    Mike Eltsufin
    @meltsufin
    responded, feel free to add more to the conversation
    Artem Bilan
    @artembilan
    Thanks, Mike! That all :smile:
    Mike Eltsufin
    @meltsufin
    np, thanks for bringing it to my attention :)
    Mike Eltsufin
    @meltsufin
    is Hoxton release still on track for tomorrow?
    Ryan Baxter
    @ryanjbaxter
    it will be RC2
    Mike Eltsufin
    @meltsufin
    oh ok
    Attoumane
    @akuma8
    Please let us know here when it will be released, I am waiting for it before migrating to Spring Boot 2.2 and Java 13. šŸ™
    Ryan Baxter
    @ryanjbaxter
    @here we are trying to do the Greenwich.SR4 release and sc-gcp is failing
    11:27:39 [ERROR] testValidObject(org.springframework.cloud.gcp.autoconfigure.storage.GcpStorageAutoConfigurationTests)  Time elapsed: 0.001 s  <<< ERROR!
    11:27:39 java.lang.IllegalStateException: Failed to load ApplicationContext
    11:27:39 Caused by: java.lang.IllegalStateException: Error processing condition on 
    org.springframework.cloud.sleuth.instrument.web.TraceHttpAutoConfiguration.httpClientParser
    11:27:39 Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.sleuth.instrument.web.TraceHttpAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@75b84c92]
    11:27:39 Caused by: java.lang.NoClassDefFoundError: brave/sampler/SamplerFunction
    11:27:39 Caused by: java.lang.ClassNotFoundException: brave.sampler.SamplerFunction
    does that make any sense to anyone?
    Ryan Baxter
    @ryanjbaxter
    looks like the problem shows up when moving to sleuth 2.1.6
    Ryan Baxter
    @ryanjbaxter
    looks like it was due to a mismatch in the version of brave being used, I bumped the version to 5.8.0 and ran the build and the problem went away, I will submit a PR with the changes
    Mike Eltsufin
    @meltsufin
    Thanks, merged PR
    Ryan Baxter
    @ryanjbaxter
    awesome
    Daniel Zou
    @dzou
    Hey guys, I saw 1.2 was released. Thank you for your work on this. I wanted to followup on a question we had about our landing page documentation a while back. We updated our sagan-index.adoc but it doesn't appear to have updated. Are we missing something? Was curious how we can get the updated sagan-index.adoc for our landing page on spring.io.
    Ryan Baxter
    @ryanjbaxter
    @dzou I updated the page, not sure why it didnt happen automatically
    let me know if something doesnt look right
    @here would someone like to give me some highlights of features/changes made in gcp to highlight in the Hoxton release blog post?
    Mike Eltsufin
    @meltsufin
    Mike Eltsufin
    @meltsufin
    The major changes are added support for BigQuery and Spring Data Reactive Repositories for Cloud Firestore
    Marcin Grzejszczak
    @marcingrzejszczak
    @dzou most likely we had an issue with sagan and the page didn't get updating
    Spencer Gibb
    @spencergibb
    Seeing a build failure. Hoping to release today org.springframework.cloud.gcp.data.datastore.repository.query.PartTreeDatastoreQueryTests.pageableQueryNoPageableParam
    Error Details
    Expecting:
    <2>
    to be equal to:
    <1>
    but was not.
    Stack Trace
    Elena Felder
    @elefeint
    I am about to fix that
    Spencer Gibb
    @spencergibb
    @elefeint thanks, can you ping me when you are done?
    Elena Felder
    @elefeint
    Waiting for Travis to build. The brief commercial break in my brain features Chicago's "All that Jazz": " Come on, Travis, got to run that build, and fix this test, and fix this test! ... And all... those... teeeeests!"
    Spencer Gibb
    @spencergibb
    :stuck_out_tongue_winking_eye:
    Elena Felder
    @elefeint
    @spencergibb Build is fixed.
    Spencer Gibb
    @spencergibb
    cool, watching jenkins build (since that's what does the release).
    Elena Felder
    @elefeint
    yep. The branch travis build runs integration tests, so it will run for a while, but since Jenkins only runs unit tests, it should match the PR build results. (internally debating whether knocking on synthetic surface counts as knocking on wood)
    Spencer Gibb
    @spencergibb
    :+1:
    Spencer Gibb
    @spencergibb
    we're green in jenkins too