spring-cloud-function
spring-cloud-function copied to clipboard
**Describe the bug** Hi Team, I am using RoutingFunction of the spring cloud. (this is link to the sample code base -https://github.com/Mohit-Sardiwal/inheritance which I am explaining below) Lets say I...
**Describe the bug** I am making a serverless application with gcp-adapter. In the main class of my application instead of using @SpringBootApplication I am using a custom tag that extends...
**Describe the bug** Using: * Spring Boot 3.1.2 * Spring Cloud Dependencies 2022.4 `JsonMapper.isJsonStringRepresentsCollection` may return true for non-collection objects if the object implements `Iterable`. As a concrete example, `ObjectNode`...
**Is your feature request related to a problem? Please describe.** GCP CloudFunctions gen2 use CloudEvents as event format when creating a trigger function. With spring-cloud-function-adapter-gcp only the old RawBackgroundFunction interface...
I'm trying out spring-cloud-function with a KNative installation. I have simple spring boot application with the following configuration: ```kotlin @Configuration class CloudEventConfiguration { private val logger = KotlinLogging.logger {} @Bean...
Currently we're migrating some of our messages to Cloud Events. If we use ```kotlin CloudEventMessageBuilder.withData(this) .setId(UUID.randomUUID().toString()) .setSource("/my/source") .setSpecVersion("1.0") .setType("my.type") .setHeader(KafkaHeaders.KEY, myId) .build(CloudEventMessageUtils.KAFKA_ATTR_PREFIX) ``` the resulting message apparently has a header...
**Describe the bug** I'm trying to develop a HTTP-triggered serverless function that accepts a relatively simple HTTP POST request with a JSON payload. I'm having trouble configuring and working with...
**Is your feature request related to a problem? Please describe.** On Azure Function App, the first time a function runs there will be some startup logs coming from "org.springframework.cloud.function.utils.FunctionClassUtils" to...
**Describe the bug** According to the [docs](https://docs.spring.io/spring-cloud-function/docs/current/reference/html/spring-cloud-function.html#_kotlin_lambda_support), a lambda can be used to implement `java.utl.function.Cusumer`. However, if calls a suspend method in the body, the lambda must add `suspend` keywords...
**Describe the bug** I tried to use ALB to respond to binary data, but it only responds in JSON. [ALB Docs](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html) **Sample** ```java @Component public class Handler { public record...