The Spring Blog

Engineering
Releases
News and Events

Bootiful GCP: To Production! (8/8)

Hi Spring fans! In this brief 8 part series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. I wrote these installments with input from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy! As always, I’d love to hear from you if you have feedback.

Read more...

Kotlin Support in Spring Cloud Function

Rarely we blog about a single feature, but given that this one was one of the most requested ones in Spring Cloud Function (relatively young project), we thought it may be appropriate, so here it is.

Initial support for Kotlin lambdas has been added to Spring Cloud Function. What it means is that Spring Cloud Function can now recognize Kotlin lambdas that effectively match to one of Java’s Supplier, Function or Consumer and treat them as such.

That is:

@Bean
open fun kotlinFunction(): (String) -> String {
    return  { it.toUpperCase() }
}

@Bean
open fun kotlinConsumer(): (String) -> Unit {
    return  { println(it) }
}

@Bean
open fun kotlinSupplier(): () -> String {
    return  { "Hello Kotlin" }
}

Read more...

This Week in Spring - September 11th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Istanbul, Turkey, talking to customers and participating in the epic SpringOne Platform Istanbul event and otherwise generally preparing for the flagship SpringOne Platform 2018 event in just a few short weeks

Read more...

Bootiful GCP: Use Spring Cloud GCP to Connect to Other GCP Services (7/8)

Hi Spring fans! In this brief 8 part series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. I wrote these installments with input from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy! As always, I’d love to hear from you if you have feedback.

Read more...

Bootiful GCP: Supporting Observability with Spring Cloud GCP Stackdriver Trace (6/8)

Hi Spring fans! In this brief series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. These installments were written with help from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy!

Read more...

This Week in Spring - September 4th, 2018

Hi Spring fans and welcome to another installment of This Week in Spring! If you’re in the US, I hope you enjoyed your Labor Day weekend. I certainly did, gorging on the San Francisco sun and preparing for my O’Reilly online training for tomorrow, Bootiful Kotlin. I’m also busily preparing for the epic SpringOne Tour event in Istanbul, Turkey, customer visits in Atlanta, GA, and of course the epic tentpole SpringOne Platform event coming up later this month in Washington DC. If you’re around, I sure hope to see you!

Read more...

Bootiful GCP: Runtime Configuration with Spring Cloud GCP Runtime Config (5/8)

Hi Spring fans! In this brief 8 part series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. I wrote these installments with input from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy! As always, I’d love to hear from you if you have feedback.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.M2 Released!

On behalf of the team and the community, I am pleased to announce the release of Spring Boot for Apache Geode and Pivotal GemFire 1.0.0.M2.

In summary this release brings the following improvements:

  • Auto-configuration support for Spring Session when using Apache Geode, Pivotal GemFire or Pivotal Cloud Cache (PCC) to manage and store your Spring Boot application’s (HTTP) Session state.

  • Recognition of spring.cache.type when using Spring’s Cache Abstraction auto-configured with Spring Boot.

  • Additions and improvements to the documentation.

  • Upgrades to Spring Framework 5.0.8.RELEASE, Spring Boot 2.0.4.RELEASE and Spring Data Kay-SR9

Read more...

Spring Session for Apache Geode/Pivotal GemFire 2.0.5.RELEASE and 2.1.0.M1 Released!

On behalf of the team as well as the community, I am pleased to announce the release of Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.0.5.RELEASE (Apple) and 2.1.0.M1 (Bean).

SSDG 2.0.5.RELEASE is based on Spring Session 2.0.5.RELEASE, Spring Data Kay-SR9 and Spring Framework 5.0.8.RELEASE and is available in Maven Central.

SSDG 2.1.0.M1 is based on Spring Session 2.1.0.M2, Spring Data Lovelace-RC2 and Spring Framework 5.1.0.RC2 and is available from Spring libs-milestone.

Both releases bring with it a new way to configure Spring Session when using either Apache Geode or Pivotal GemFire, or even Pivotal Cloud Cache (PCC), to manage your Spring Boot Web application’s (HTTP) Session state.

Read more...

Bootiful GCP: Integration with Google Cloud Pub/Sub (4/8)

Hi Spring fans! In this brief 8 part series we’re going to look at the Spring Cloud integration for Google Cloud Platform, called Spring Cloud GCP. Spring Cloud GCP represents a joint effort between Google and Pivotal that endeavors to provide a first class experience for Spring Cloud developers when using the Google Cloud Platform. Pivotal Cloud Foundry users will enjoy an even easier integration with the GCP service broker. I wrote these installments with input from Google Cloud Developer Advocate, and my buddy, Ray Tsang. You can also catch a walkthrough of Spring Cloud GCP in our Google Next 2018 session, Bootiful Google Cloud Platform. Thanks buddy! As always, I’d love to hear from you if you have feedback.

Read more...